diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-01-08 21:59:50 -0500 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-02-15 09:17:24 -0800 |
commit | d451a4bd97f827bb492fd0c0e357cb20b6056ed9 (patch) | |
tree | fa2b4704bb0132e81b2102ced301b5a7ac51c8de /mesonbuild/compilers/fortran.py | |
parent | 3e9396f2590372f484149b48bf3f1c108c9111c3 (diff) | |
download | meson-d451a4bd97f827bb492fd0c0e357cb20b6056ed9.zip meson-d451a4bd97f827bb492fd0c0e357cb20b6056ed9.tar.gz meson-d451a4bd97f827bb492fd0c0e357cb20b6056ed9.tar.bz2 |
Remove get_cross_extra_flags
This is no longer needed, we just remove conditionals around it.
Diffstat (limited to 'mesonbuild/compilers/fortran.py')
-rw-r--r-- | mesonbuild/compilers/fortran.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index 1290c07..59c4214 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -78,8 +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 = self.get_cross_extra_flags(environment, link=True) - pc = subprocess.Popen(self.exelist + extra_flags + [source_name, '-o', binary_name]) + pc = subprocess.Popen(self.exelist + [source_name, '-o', binary_name]) pc.wait() if pc.returncode != 0: raise EnvironmentException('Compiler %s can not compile programs.' % self.name_string()) |