cbflib: fix build with newer gfortran (#38632)
This commit is contained in:
parent
831bfb43f5
commit
ce6b79cd96
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ def edit(self, spec, prefix):
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue