mpich: Fix build with gcc@10: (#16568)
This commit is contained in:
parent
43c9ad3421
commit
5ed5c55ebd
@ -156,6 +156,10 @@ def setup_build_environment(self, env):
|
|||||||
env.unset('F90')
|
env.unset('F90')
|
||||||
env.unset('F90FLAGS')
|
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):
|
def setup_dependent_build_environment(self, env, dependent_spec):
|
||||||
# On Cray, the regular compiler wrappers *are* the MPI wrappers.
|
# On Cray, the regular compiler wrappers *are* the MPI wrappers.
|
||||||
if 'platform=cray' in self.spec:
|
if 'platform=cray' in self.spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user