pflotran: fix build errors with gfortran@10: (#33527)
>> 38 Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
This commit is contained in:
		| @@ -38,3 +38,8 @@ class Pflotran(AutotoolsPackage): | |||||||
|     @property |     @property | ||||||
|     def parallel(self): |     def parallel(self): | ||||||
|         return self.spec.satisfies("@xsdk-0.4.0:") |         return self.spec.satisfies("@xsdk-0.4.0:") | ||||||
|  | 
 | ||||||
|  |     def flag_handler(self, name, flags): | ||||||
|  |         if "%gcc@10:" in self.spec and name == "fflags": | ||||||
|  |             flags.append("-fallow-argument-mismatch") | ||||||
|  |         return flags, None, None | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Satish Balay
					Satish Balay