summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/adios/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/adios/package.py b/var/spack/repos/builtin/packages/adios/package.py
index c850b3058b..4bcd3f69d6 100644
--- a/var/spack/repos/builtin/packages/adios/package.py
+++ b/var/spack/repos/builtin/packages/adios/package.py
@@ -127,6 +127,11 @@ class Adios(AutotoolsPackage):
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):
spec = self.spec
self.validate(spec)