czmq %oneapi: -Wno-error: gnu-null-pointer-arithmetic, strict-prototypes (#33586)
This commit is contained in:
parent
c10d525956
commit
ef8c15c5ef
@ -25,6 +25,14 @@ class Czmq(AutotoolsPackage):
|
|||||||
depends_on("uuid")
|
depends_on("uuid")
|
||||||
depends_on("libzmq")
|
depends_on("libzmq")
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
iflags = []
|
||||||
|
if name == "cflags":
|
||||||
|
if self.spec.satisfies("%oneapi@2022.2.0:"):
|
||||||
|
iflags.append("-Wno-error=gnu-null-pointer-arithmetic")
|
||||||
|
iflags.append("-Wno-error=strict-prototypes")
|
||||||
|
return (iflags, None, None)
|
||||||
|
|
||||||
def autoreconf(self, spec, prefix):
|
def autoreconf(self, spec, prefix):
|
||||||
autogen = Executable("./autogen.sh")
|
autogen = Executable("./autogen.sh")
|
||||||
autogen()
|
autogen()
|
||||||
|
Loading…
Reference in New Issue
Block a user