pruners-ninja cflags: -Wno-error=implicit-function-declaration (#39452)
This commit is contained in:
parent
4c7748e954
commit
2f145b2684
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue