mpifileutils%cce: append cflags -Wno-error=implicit-function-declaration (#47700)
This commit is contained in:
parent
4f9aa6004b
commit
a9b3e1670b
@ -66,7 +66,7 @@ class Mpifileutils(CMakePackage):
|
|||||||
def flag_handler(self, name, flags):
|
def flag_handler(self, name, flags):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
if name == "cflags":
|
if name == "cflags":
|
||||||
if spec.satisfies("%oneapi"):
|
if spec.satisfies("%oneapi") or spec.satisfies("%cce"):
|
||||||
flags.append("-Wno-error=implicit-function-declaration")
|
flags.append("-Wno-error=implicit-function-declaration")
|
||||||
return (flags, None, None)
|
return (flags, None, None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user