aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-10-10 09:42:20 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-11-15 18:42:25 -0800
commit7329ae3ce62ef525ea269adbfd95aad07d484abb (patch)
tree972f4bf69d7c133c4ccde8dac3f78a2cbb0602c9
parent28fd725d61bec363d9bcc403e78b38312dfeb276 (diff)
downloadmeson-7329ae3ce62ef525ea269adbfd95aad07d484abb.zip
meson-7329ae3ce62ef525ea269adbfd95aad07d484abb.tar.gz
meson-7329ae3ce62ef525ea269adbfd95aad07d484abb.tar.bz2
fortran: ifort doesn't have -pipe
-rw-r--r--mesonbuild/compilers/fortran.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py
index 23c4892..8eea4e7 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):