libyogrt %oneapi: add cflag=-Wno-error=implicit-function-declaration (#39522)

This commit is contained in:
eugeneswalker 2023-08-23 02:10:37 -07:00 committed by GitHub
parent e56291dd45
commit aa83fa44e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,12 @@ def url_for_version(self, 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):
args = []