summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pflotran/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pflotran/package.py b/var/spack/repos/builtin/packages/pflotran/package.py
index 8807ad5e71..6a042497b9 100644
--- a/var/spack/repos/builtin/packages/pflotran/package.py
+++ b/var/spack/repos/builtin/packages/pflotran/package.py
@@ -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