pruners-ninja cflags: -Wno-error=implicit-function-declaration (#39452)
This commit is contained in:
		| @@ -24,3 +24,9 @@ class PrunersNinja(AutotoolsPackage): | |||||||
|     depends_on("libtool", type="build") |     depends_on("libtool", type="build") | ||||||
| 
 | 
 | ||||||
|     patch("pruners-mutli-def-a-pr3-fix.patch") |     patch("pruners-mutli-def-a-pr3-fix.patch") | ||||||
|  | 
 | ||||||
|  |     def flag_handler(self, name, flags): | ||||||
|  |         if name == "cflags": | ||||||
|  |             if self.spec.satisfies("%oneapi"): | ||||||
|  |                 flags.append("-Wno-error=implicit-function-declaration") | ||||||
|  |         return (flags, None, None) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 eugeneswalker
					eugeneswalker