hdf: build with gcc10 (#20773)
This commit is contained in:
parent
6b13909cc1
commit
06f65afdd5
1 changed files with 8 additions and 0 deletions
|
@ -144,6 +144,14 @@ def configure_args(self):
|
|||
# We should not specify '--disable-hdf4-xdr' due to a bug in the
|
||||
# configure script.
|
||||
config_args.append('LIBS=%s' % self.spec['rpc'].libs.link_flags)
|
||||
|
||||
# https://github.com/Parallel-NetCDF/PnetCDF/issues/61
|
||||
if self.spec.satisfies('%gcc@10:'):
|
||||
config_args.extend([
|
||||
'FFLAGS=-fallow-argument-mismatch',
|
||||
'FCFLAGS=-fallow-argument-mismatch']
|
||||
)
|
||||
|
||||
return config_args
|
||||
|
||||
# Otherwise, we randomly get:
|
||||
|
|
Loading…
Reference in a new issue