openblas %oneapi: extend application of --Wno-error=implicit-function-declaration (#33576)

This commit is contained in:
eugeneswalker 2022-10-28 01:05:59 -07:00 committed by GitHub
parent d4a0f588e9
commit 0896bf928b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ def flag_handler(self, name, flags):
spec = self.spec
iflags = []
if name == "cflags":
if spec.satisfies("@0.3.20 %oneapi"):
if spec.satisfies("@0.3.20: %oneapi"):
iflags.append("-Wno-error=implicit-function-declaration")
return (iflags, None, None)