fortran: Fix typo that was causing sanity checks to fail

pull/5271/head
Nirbheek Chauhan 6 years ago
parent 3f6e773215
commit 4d40aa5d85
  1. 1
      mesonbuild/compilers/fortran.py

@ -78,6 +78,7 @@ class FortranCompiler(Compiler):
binary_name = os.path.join(work_dir, 'sanitycheckf')
with open(source_name, 'w') as ofile:
ofile.write('print *, "Fortran compilation is working."; end')
extra_flags = []
if self.is_cross:
extra_flags = environment.coredata.get_external_args(MachineChoice.HOST, self.language)
extra_flags += environment.coredata.get_external_link_args(MachineChoice.HOST, self.language)

Loading…
Cancel
Save