pruners-ninja cflags: -Wno-error=implicit-function-declaration (#39452)

This commit is contained in:
eugeneswalker 2023-08-16 13:51:38 -07:00 committed by GitHub
parent 4c7748e954
commit 2f145b2684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)