pflotran: fix build errors with gfortran@10: (#33527)
>> 38 Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
This commit is contained in:
parent
117a82117d
commit
b497581ce7
1 changed files with 5 additions and 0 deletions
|
@ -38,3 +38,8 @@ class Pflotran(AutotoolsPackage):
|
|||
@property
|
||||
def parallel(self):
|
||||
return self.spec.satisfies("@xsdk-0.4.0:")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if "%gcc@10:" in self.spec and name == "fflags":
|
||||
flags.append("-fallow-argument-mismatch")
|
||||
return flags, None, None
|
||||
|
|
Loading…
Reference in a new issue