flex%oneapi@2023.0.0: -Wno-error=implicit-function-declaration (#34900)
This commit is contained in:
parent
91fd6d5a84
commit
62f83dfb6d
@ -66,6 +66,10 @@ def flag_handler(self, name, flags):
|
|||||||
iflags.append("-Wno-error=implicit-function-declaration")
|
iflags.append("-Wno-error=implicit-function-declaration")
|
||||||
return (iflags, None, None)
|
return (iflags, None, None)
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
if self.spec.satisfies("%oneapi@2023.0.0:"):
|
||||||
|
env.set("CFLAGS", "-Wno-error=implicit-function-declaration")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def determine_version(cls, exe):
|
def determine_version(cls, exe):
|
||||||
output = Executable(exe)("--version", output=str, error=str)
|
output = Executable(exe)("--version", output=str, error=str)
|
||||||
|
Loading…
Reference in New Issue
Block a user