diff options
| author | Jack Nagel | 2013-08-30 19:00:19 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-30 19:00:19 -0500 |
| commit | 1545e6eeac356ec90114ae0e39d7b0891191f245 (patch) | |
| tree | 0a0586776baa9874f95e82bc09a13581cd12e166 /Library | |
| parent | c26cf238b790b82b2e3c41c8c74e89e6279ac047 (diff) | |
| download | homebrew-1545e6eeac356ec90114ae0e39d7b0891191f245.tar.bz2 | |
ENV: use fc accessor
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV/shared.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index 1baaaccef..ce5a56b61 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -120,10 +120,10 @@ module SharedEnvExtension end def fortran - if self['FC'] + if fc ohai "Building with an alternative Fortran compiler" puts "This is unsupported." - self['F77'] ||= self['FC'] + self['F77'] ||= fc if ARGV.include? '--default-fortran-flags' flags_to_set = FC_FLAG_VARS.reject { |key| self[key] } |
