json-c %oneapi: add -Wno-error=implicit-function-declaration (#33585)
This commit is contained in:
parent
6edb20c7a6
commit
c10d525956
@ -42,6 +42,13 @@ def patch(self):
|
||||
def patch(self):
|
||||
filter_file("-Werror", "", "CMakeLists.txt")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
iflags = []
|
||||
if name == "cflags":
|
||||
if self.spec.satisfies("%oneapi"):
|
||||
iflags.append("-Wno-error=implicit-function-declaration")
|
||||
return (iflags, None, None)
|
||||
|
||||
@run_after("install")
|
||||
def darwin_fix(self):
|
||||
# The shared library is not installed correctly on Darwin; fix this
|
||||
|
Loading…
Reference in New Issue
Block a user