diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/cbflib/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/cbflib/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cbflib/package.py b/var/spack/repos/builtin/packages/cbflib/package.py index f0b83a07a1..4ec7b02a33 100644 --- a/var/spack/repos/builtin/packages/cbflib/package.py +++ b/var/spack/repos/builtin/packages/cbflib/package.py @@ -43,6 +43,9 @@ class Cbflib(MakefilePackage): mf.filter(r"^C\+\+.+", "C++ = {0}".format(spack_cxx)) mf.filter("gfortran", spack_fc) mf.filter(r"^INSTALLDIR .+", "INSTALLDIR = {0}".format(prefix)) + real_version = Version(self.compiler.get_real_version()) + if real_version >= Version("10"): + mf.filter(r"^F90FLAGS[ \t]*=[ \t]*(.+)", "F90FLAGS = \\1 -fallow-invalid-boz") def build(self, spec, prefix): pass |