ENV: use fc accessor

This commit is contained in:
Jack Nagel 2013-08-30 19:00:19 -05:00
parent 405ba3df68
commit 8828187b4c

View File

@ -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] }