diff options
| author | Jack Nagel | 2013-08-30 18:59:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-30 18:59:58 -0500 |
| commit | c26cf238b790b82b2e3c41c8c74e89e6279ac047 (patch) | |
| tree | 47952b37d12bce1932a83d0bab3200475c979179 /Library/Homebrew/extend | |
| parent | 797c037c3ab30de4ad577829535da9ac9f7d8daa (diff) | |
| download | homebrew-c26cf238b790b82b2e3c41c8c74e89e6279ac047.tar.bz2 | |
Fix conditional in ENV.fortran
Diffstat (limited to 'Library/Homebrew/extend')
| -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 |
