aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
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