Skip to content
Snippets Groups Projects
Unverified Commit cee24fbc authored by Michael Kuhn's avatar Michael Kuhn Committed by GitHub
Browse files

mvapich2: Fix build with gcc@10: (#17114)

parent 8d672791
Branches
Tags
No related merge requests found
......@@ -199,6 +199,16 @@ def file_system_options(self):
return opts
def flag_handler(self, name, flags):
if name == 'fflags':
# https://bugzilla.redhat.com/show_bug.cgi?id=1795817
if self.spec.satisfies('%gcc@10:'):
if flags is None:
flags = []
flags.append('-fallow-argument-mismatch')
return (flags, None, None)
def setup_build_environment(self, env):
# mvapich2 configure fails when F90 and F90FLAGS are set
env.unset('F90')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment