esmf: fix build with gcc@10: (#16622)
This commit is contained in:
parent
701fc1fdb1
commit
aaf3388cfe
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ def edit(self, spec, prefix):
|
|||
# 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 #
|
||||
#######
|
||||
|
|
Loading…
Reference in a new issue