From 85a5aed60f7f09155760da15cff38aa5d570cf79 Mon Sep 17 00:00:00 2001 From: Mat Cross Date: Sun, 22 Aug 2021 11:33:12 +0100 Subject: [PATCH] nagfor preprocessor flag. --- mesonbuild/compilers/fortran.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index 07580114e..c89069181 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()