Skip to content
Snippets Groups Projects
Commit 8828187b authored by Jack Nagel's avatar Jack Nagel
Browse files

ENV: use fc accessor

parent 405ba3df
No related branches found
No related tags found
No related merge requests found
......@@ -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] }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment