aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 5d20db777..4323b829f 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -457,7 +457,7 @@ class << ENV
if self['FC']
ohai "Building with an alternative Fortran compiler"
puts "This is unsupported."
- self['F77'] = self['FC'] unless self['F77']
+ self['F77'] ||= self['FC']
if ARGV.include? '--default-fortran-flags'
flags_to_set = []