py-gevent%oneapi@2023.0.0: -Wno-error=incompatible-function-pointer-types (#34901)
This commit is contained in:
parent
229ee7cad9
commit
2c87f59d36
@ -38,3 +38,9 @@ class PyGevent(PythonPackage):
|
||||
|
||||
# Deprecated compiler options. upstream PR: https://github.com/gevent/gevent/pull/1896
|
||||
patch("icc.patch", when="%intel")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "cflags":
|
||||
if self.spec.satisfies("%oneapi@2023:"):
|
||||
flags.append("-Wno-error=incompatible-function-pointer-types")
|
||||
return (flags, None, None)
|
||||
|
Loading…
Reference in New Issue
Block a user