diff options
| author | Jack Nagel | 2013-08-30 18:59:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-30 18:59:58 -0500 |
| commit | 405ba3df68ce1e03800f67d631b76bbec2b1d14a (patch) | |
| tree | 4ba35e17dfdd0e372f5ddf1d880473d1b134ad53 /Library | |
| parent | 2cb8c443e4bd44ea660657a3159268664f77a173 (diff) | |
| download | brew-405ba3df68ce1e03800f67d631b76bbec2b1d14a.tar.bz2 | |
Fix conditional in ENV.fortran
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV/shared.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index 2b42d0d23..1baaaccef 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -129,7 +129,7 @@ module SharedEnvExtension flags_to_set = FC_FLAG_VARS.reject { |key| self[key] } flags_to_set.each {|key| self[key] = cflags} set_cpu_flags(flags_to_set) - elsif not self['FCFLAGS'] or self['FFLAGS'] + elsif values_at(*FC_FLAG_VARS).compact.empty? opoo <<-EOS.undent No Fortran optimization information was provided. You may want to consider setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to |
