compilers: Use standards compliant test

pull/9280/head
Rohit Goswami 3 years ago committed by Eli Schwartz
parent 40ff02268c
commit 32ba349f0a
  1. 2
      mesonbuild/compilers/fortran.py

@ -72,7 +72,7 @@ class FortranCompiler(CLikeCompiler, Compiler):
if binary_name.is_file():
binary_name.unlink()
source_name.write_text('print *, "Fortran compilation is working."; end', encoding='utf-8')
source_name.write_text('program main; print *, "Fortran compilation is working."; end program', encoding='utf-8')
extra_flags: T.List[str] = []
extra_flags += environment.coredata.get_external_args(self.for_machine, self.language)

Loading…
Cancel
Save