summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index 878abc6b5c..7b8c807cce 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -156,6 +156,10 @@ spack package at this time.''',
env.unset('F90')
env.unset('F90FLAGS')
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1795817
+ if self.spec.satisfies('%gcc@10:'):
+ env.set('FFLAGS', '-fallow-argument-mismatch')
+
def setup_dependent_build_environment(self, env, dependent_spec):
# On Cray, the regular compiler wrappers *are* the MPI wrappers.
if 'platform=cray' in self.spec: