ferret: add support for gcc@10: (#42660)
This commit is contained in:
parent
c2b116175b
commit
23e586fd85
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ def url_for_version(self, version):
|
|||
else:
|
||||
return "https://github.com/NOAA-PMEL/Ferret/archive/v{0}.tar.gz".format(version)
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "fflags" and self.spec.satisfies("%gcc@10:"):
|
||||
flags.extend(["-fallow-argument-mismatch", "-fallow-invalid-boz"])
|
||||
return (flags, None, None)
|
||||
|
||||
def patch(self):
|
||||
spec = self.spec
|
||||
hdf5_prefix = spec["hdf5"].prefix
|
||||
|
|
Loading…
Reference in a new issue