esmf: fix build with gcc@10: (#16622)
This commit is contained in:
parent
701fc1fdb1
commit
aaf3388cfe
@ -146,6 +146,9 @@ def edit(self, spec, prefix):
|
|||||||
# Build an optimized version of the library.
|
# Build an optimized version of the library.
|
||||||
os.environ['ESMF_BOPT'] = 'O'
|
os.environ['ESMF_BOPT'] = 'O'
|
||||||
|
|
||||||
|
if self.spec.satisfies('%gcc@10:'):
|
||||||
|
os.environ['ESMF_F90COMPILEOPTS'] = '-fallow-argument-mismatch'
|
||||||
|
|
||||||
#######
|
#######
|
||||||
# MPI #
|
# MPI #
|
||||||
#######
|
#######
|
||||||
|
Loading…
Reference in New Issue
Block a user