aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMat Cross <mathewc@nag.co.uk>2021-08-22 11:33:12 +0100
committerEli Schwartz <eschwartz93@gmail.com>2021-09-10 16:08:57 -0400
commit85a5aed60f7f09155760da15cff38aa5d570cf79 (patch)
treeffc8e8ccc2757619649113bad1801184a9d146bc
parent20d1bfbcb6362589d071cc1c23b1b50aa798f206 (diff)
downloadmeson-85a5aed60f7f09155760da15cff38aa5d570cf79.zip
meson-85a5aed60f7f09155760da15cff38aa5d570cf79.tar.gz
meson-85a5aed60f7f09155760da15cff38aa5d570cf79.tar.bz2
nagfor preprocessor flag.
-rw-r--r--mesonbuild/compilers/fortran.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py
index 0758011..c890691 100644
--- a/mesonbuild/compilers/fortran.py
+++ b/mesonbuild/compilers/fortran.py
@@ -515,6 +515,9 @@ class NAGFortranCompiler(FortranCompiler):
def get_pic_args(self) -> T.List[str]:
return ['-PIC']
+ def get_preprocess_only_args(self) -> T.List[str]:
+ return ['-fpp']
+
def get_std_exe_link_args(self) -> T.List[str]:
return self.get_always_args()