libyogrt %oneapi: add cflag=-Wno-error=implicit-function-declaration (#39522)
This commit is contained in:
parent
e56291dd45
commit
aa83fa44e1
1 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,12 @@ def url_for_version(self, version):
|
||||||
version
|
version
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
if name == "cflags":
|
||||||
|
if self.spec.satisfies("%oneapi"):
|
||||||
|
flags.append("-Wno-error=implicit-function-declaration")
|
||||||
|
return (flags, None, None)
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = []
|
args = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue