arpack-ng %cce: add -hnopattern to fflags (#33424)

This commit is contained in:
eugeneswalker 2022-10-20 08:09:35 -07:00 committed by GitHub
parent 70d2556f4b
commit 3e1db75372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,11 @@ def flag_handler(self, name, flags):
if name == "cflags":
if spec.satisfies("%oneapi"):
iflags.append("-Wno-error=implicit-function-declaration")
if name == "fflags":
if self.spec.satisfies("%cce"):
iflags.append("-hnopattern")
return (iflags, None, None)
@property