From 68233db9f6456c5bd297338211be2c4fba97dd41 Mon Sep 17 00:00:00 2001 From: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Date: Tue, 31 Jan 2023 18:37:10 -0600 Subject: Revert "flex%oneapi@2023.0.0: -Wno-error=implicit-function-declaration (#34900)" (#35181) This reverts commit 62f83dfb6dbc86eace56495aa59587ac1942dc20. --- var/spack/repos/builtin/packages/flex/package.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py index 768227fa88..c99c8ee4ae 100644 --- a/var/spack/repos/builtin/packages/flex/package.py +++ b/var/spack/repos/builtin/packages/flex/package.py @@ -66,10 +66,6 @@ class Flex(AutotoolsPackage): iflags.append("-Wno-error=implicit-function-declaration") 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 def determine_version(cls, exe): output = Executable(exe)("--version", output=str, error=str) -- cgit v1.2.3-60-g2f50