From 9ab4dadef99cacb6a556154b7f520afba0877dc4 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 10 Mar 2021 21:41:15 +0200 Subject: Remove -pipe from default list of args. Closes #8508. --- mesonbuild/compilers/fortran.py | 6 ------ mesonbuild/compilers/mixins/clike.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'mesonbuild/compilers') diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index 0cff60a..8264638 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -336,12 +336,6 @@ class IntelFortranCompiler(IntelGnuLikeCompiler, FortranCompiler): def get_preprocess_only_args(self) -> T.List[str]: return ['-cpp', '-EP'] - def get_always_args(self) -> T.List[str]: - """Ifort doesn't have -pipe.""" - val = super().get_always_args() - val.remove('-pipe') - return val - def language_stdlib_only_link_flags(self) -> T.List[str]: return ['-lifcore', '-limf'] diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index 3932244..70dde60 100644 --- a/mesonbuild/compilers/mixins/clike.py +++ b/mesonbuild/compilers/mixins/clike.py @@ -155,7 +155,7 @@ class CLikeCompiler(Compiler): ''' Args that are always-on for all C compilers other than MSVC ''' - return ['-pipe'] + self.get_largefile_args() + return self.get_largefile_args() def get_no_stdinc_args(self) -> T.List[str]: return ['-nostdinc'] -- cgit v1.1