diff options
author | Michael Kuhn <michael.kuhn@informatik.uni-hamburg.de> | 2020-05-13 14:53:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 14:53:49 +0200 |
commit | aaf3388cfe8cf271aa925b72e4126ee2deade927 (patch) | |
tree | fec3540f7351193848da65f88dc3ff3db3d3cddc /var | |
parent | 701fc1fdb15253f771aeec330a66b992d8c55dce (diff) | |
download | spack-aaf3388cfe8cf271aa925b72e4126ee2deade927.tar.gz spack-aaf3388cfe8cf271aa925b72e4126ee2deade927.tar.bz2 spack-aaf3388cfe8cf271aa925b72e4126ee2deade927.tar.xz spack-aaf3388cfe8cf271aa925b72e4126ee2deade927.zip |
esmf: fix build with gcc@10: (#16622)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/esmf/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py index d63af514ff..b533851228 100644 --- a/var/spack/repos/builtin/packages/esmf/package.py +++ b/var/spack/repos/builtin/packages/esmf/package.py @@ -146,6 +146,9 @@ class Esmf(MakefilePackage): # Build an optimized version of the library. os.environ['ESMF_BOPT'] = 'O' + if self.spec.satisfies('%gcc@10:'): + os.environ['ESMF_F90COMPILEOPTS'] = '-fallow-argument-mismatch' + ####### # MPI # ####### |