libffi: add -Wno-error=implicit-function-declaration for Arm compiler (#36832)
This commit is contained in:
parent
242c1e4535
commit
6d366c39ae
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def headers(self):
|
||||||
|
|
||||||
def flag_handler(self, name, flags):
|
def flag_handler(self, name, flags):
|
||||||
if name == "cflags":
|
if name == "cflags":
|
||||||
if self.spec.satisfies("%oneapi@2023:"):
|
if self.spec.satisfies("%oneapi@2023:") or self.spec.satisfies("%arm@23.04:"):
|
||||||
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 a new issue