From e9d60996d5b2813d31b7a69bbd81a61858f02d68 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 23 Sep 2024 08:58:08 +0000 Subject: [PATCH] superlu: always use -Wno-implicit-int Signed-off-by: Adrian Reber --- components/serial-libs/superlu/SPECS/superlu.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/serial-libs/superlu/SPECS/superlu.spec b/components/serial-libs/superlu/SPECS/superlu.spec index 3b87e90c7d..cdb9b606fe 100644 --- a/components/serial-libs/superlu/SPECS/superlu.spec +++ b/components/serial-libs/superlu/SPECS/superlu.spec @@ -62,10 +62,8 @@ Docu can be found on http://www.netlib.org. %build %ohpc_setup_compiler -%if "%{compiler_family}" == "arm1" || "%{compiler_family}" == "intel" -export DEFAULT_OPTS="${DEFAULT_OPTS} -Wno-implicit-int" +export DEFAULT_OPTS="${CFLAGS} -Wno-implicit-int" export DEFAULT_OPTS="${DEFAULT_OPTS} -Wno-implicit-function-declaration" -%endif %if "%{compiler_family}" == "arm1" export DEFAULT_OPTS="${DEFAULT_OPTS} -fsimdmath" %endif