diff --git a/components/serial-libs/superlu/SPECS/superlu.spec b/components/serial-libs/superlu/SPECS/superlu.spec index 3b87e90c7d..89f9d734fa 100644 --- a/components/serial-libs/superlu/SPECS/superlu.spec +++ b/components/serial-libs/superlu/SPECS/superlu.spec @@ -62,8 +62,8 @@ Docu can be found on http://www.netlib.org. %build %ohpc_setup_compiler +export DEFAULT_OPTS="${CFLAGS} -Wno-implicit-int" %if "%{compiler_family}" == "arm1" || "%{compiler_family}" == "intel" -export DEFAULT_OPTS="${DEFAULT_OPTS} -Wno-implicit-int" export DEFAULT_OPTS="${DEFAULT_OPTS} -Wno-implicit-function-declaration" %endif %if "%{compiler_family}" == "arm1"