Bug fix in py-gevent to build with intel/oneapi compilers (#41896)
This commit is contained in:
parent
d2462fb0af
commit
f42d8bf3e7
@ -56,4 +56,6 @@ def flag_handler(self, name, flags):
|
|||||||
if name == "cflags":
|
if name == "cflags":
|
||||||
if self.spec.satisfies("%oneapi@2023:"):
|
if self.spec.satisfies("%oneapi@2023:"):
|
||||||
flags.append("-Wno-error=incompatible-function-pointer-types")
|
flags.append("-Wno-error=incompatible-function-pointer-types")
|
||||||
|
if self.spec.compiler.name in ["intel", "oneapi"]:
|
||||||
|
flags.append("-we147")
|
||||||
return (flags, None, None)
|
return (flags, None, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user