From 8828187b4c7d9b0220875d607fd5ff73d3894b89 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 30 Aug 2013 19:00:19 -0500 Subject: ENV: use fc accessor --- Library/Homebrew/extend/ENV/shared.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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] } -- cgit v1.2.3