ferret: add support for gcc@10: (#42660)
This commit is contained in:
		| @@ -63,6 +63,11 @@ def url_for_version(self, version): | |||||||
|         else: |         else: | ||||||
|             return "https://github.com/NOAA-PMEL/Ferret/archive/v{0}.tar.gz".format(version) |             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): |     def patch(self): | ||||||
|         spec = self.spec |         spec = self.spec | ||||||
|         hdf5_prefix = spec["hdf5"].prefix |         hdf5_prefix = spec["hdf5"].prefix | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alex Richert
					Alex Richert