From 1fcba7fcea462d67379c8d289bd7e0ad52170e02 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 6 Sep 2024 08:49:44 +0200 Subject: Patch up spurious warning --- configure.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure.sh') diff --git a/configure.sh b/configure.sh index 2b68478..34da488 100755 --- a/configure.sh +++ b/configure.sh @@ -27,9 +27,8 @@ esac STD="-std=c99" WFLAGS="-pedantic -Wall -Wextra" -# -Wstringop-overflow seems to be causing problems when combined with -O3 -# Someone else complained here: https://access.redhat.com/solutions/6755371 -WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-stringop-overflow" +WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas" + [ "$ARCH" = "AVX2" ] && AVX="-mavx2" [ -n "$(detectsan address)" ] && ADDR="-fsanitize=address" [ -n "$(detectsan undefined)" ] && UNDEF="-fsanitize=undefined" -- cgit v1.3