hdf5-vol-cache %cce: add -Wno-error=incompatible-function-pointer-types (#47698)
This commit is contained in:
parent
29cf1559cc
commit
453af4b9f7
@ -27,7 +27,7 @@ class Hdf5VolCache(CMakePackage):
|
|||||||
|
|
||||||
def flag_handler(self, name, flags):
|
def flag_handler(self, name, flags):
|
||||||
if name == "cflags":
|
if name == "cflags":
|
||||||
if self.spec.satisfies("%oneapi"):
|
if self.spec.satisfies("%oneapi") or self.spec.satisfies("%cce"):
|
||||||
flags.append("-Wno-error=incompatible-function-pointer-types")
|
flags.append("-Wno-error=incompatible-function-pointer-types")
|
||||||
return (flags, None, None)
|
return (flags, None, None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user