adios: Fix build with gcc@10: (#16569)

This commit is contained in:
Michael Kuhn 2020-05-11 23:54:08 +02:00 committed by GitHub
parent 1367b63e99
commit 97779e3539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,11 @@ def with_or_without_hdf5(self, activated):
return '--without-phdf5' return '--without-phdf5'
def setup_build_environment(self, env):
# https://github.com/ornladios/ADIOS/issues/206
if self.spec.satisfies('%gcc@10: +fortran'):
env.set('FCFLAGS', '-fallow-argument-mismatch')
def configure_args(self): def configure_args(self):
spec = self.spec spec = self.spec
self.validate(spec) self.validate(spec)