libffi: add -Wno-error=implicit-function-declaration for clang >= 16 (#38356)
This commit is contained in:
parent
ad0b70a64a
commit
a8301709a8
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@ def headers(self):
|
|||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "cflags":
|
||||
if self.spec.satisfies("%oneapi@2023:") or self.spec.satisfies("%arm@23.04:"):
|
||||
if (
|
||||
self.spec.satisfies("%oneapi@2023:")
|
||||
or self.spec.satisfies("%arm@23.04:")
|
||||
or self.spec.satisfies("%clang@16:")
|
||||
):
|
||||
flags.append("-Wno-error=implicit-function-declaration")
|
||||
return (flags, None, None)
|
||||
|
||||
|
|
Loading…
Reference in a new issue