py-ruamel-yaml-clib %oneapi: -Wno-error=incompatible-function-pointer-types (#39480)
This commit is contained in:
parent
02763e967a
commit
fb598baa53
1 changed files with 6 additions and 0 deletions
|
@ -21,3 +21,9 @@ class PyRuamelYamlClib(PythonPackage):
|
|||
# to prevent legacy-install-failure
|
||||
depends_on("python@:3.9", when="@0.2.0", type=("build", "link", "run"))
|
||||
depends_on("py-setuptools@28.7.0:", type="build")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "cflags":
|
||||
if self.spec.satisfies("%oneapi"):
|
||||
flags.append("-Wno-error=incompatible-function-pointer-types")
|
||||
return (flags, None, None)
|
||||
|
|
Loading…
Reference in a new issue