aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-06 08:49:44 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-06 08:49:44 +0200
commit1fcba7fcea462d67379c8d289bd7e0ad52170e02 (patch)
tree20d9fd74a81111ba84099ca215d6723a621b736e /configure.sh
parentf85ac77efc0feeeab183e509a7baca1c507da3c5 (diff)
downloadnissy-core-1fcba7fcea462d67379c8d289bd7e0ad52170e02.tar.gz
nissy-core-1fcba7fcea462d67379c8d289bd7e0ad52170e02.zip
Patch up spurious warning
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index 2b68478..34da488 100755
--- a/configure.sh
+++ b/configure.sh
@@ -27,9 +27,8 @@ esac
27 27
28STD="-std=c99" 28STD="-std=c99"
29WFLAGS="-pedantic -Wall -Wextra" 29WFLAGS="-pedantic -Wall -Wextra"
30# -Wstringop-overflow seems to be causing problems when combined with -O3 30WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas"
31# Someone else complained here: https://access.redhat.com/solutions/6755371 31
32WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-stringop-overflow"
33[ "$ARCH" = "AVX2" ] && AVX="-mavx2" 32[ "$ARCH" = "AVX2" ] && AVX="-mavx2"
34[ -n "$(detectsan address)" ] && ADDR="-fsanitize=address" 33[ -n "$(detectsan address)" ] && ADDR="-fsanitize=address"
35[ -n "$(detectsan undefined)" ] && UNDEF="-fsanitize=undefined" 34[ -n "$(detectsan undefined)" ] && UNDEF="-fsanitize=undefined"

Generated with cgit - Back to sebastiano.tronto.net