From 7329ae3ce62ef525ea269adbfd95aad07d484abb Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 10 Oct 2018 09:42:20 -0700 Subject: [PATCH] fortran: ifort doesn't have -pipe --- mesonbuild/compilers/fortran.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index 23c489200..8eea4e745 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -342,6 +342,12 @@ class IntelFortranCompiler(IntelCompiler, FortranCompiler): def get_preprocess_only_args(self): return ['-cpp', '-EP'] + def get_always_args(self): + """Ifort doesn't have -pipe.""" + val = super().get_always_args() + val.remove('-pipe') + return val + class PathScaleFortranCompiler(FortranCompiler): def __init__(self, exelist, version, is_cross, exe_wrapper=None, **kwags):