aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-10 11:58:12 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-10 11:58:12 +0200
commitef17cf8d8887413b504197dd774310d818e6ab7e (patch)
tree670fa0c95fc806251b8ea6031ec628d63a0b16e0
parent56d78292269f6a6b02a0e18dc21e5a3aacf7c462 (diff)
downloadnissy-core-ef17cf8d8887413b504197dd774310d818e6ab7e.tar.gz
nissy-core-ef17cf8d8887413b504197dd774310d818e6ab7e.zip
Reintroduce -Werror, but exclude unused options
-rwxr-xr-xconfigure.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index 2b2f40b..09d1310 100755
--- a/configure.sh
+++ b/configure.sh
@@ -85,8 +85,9 @@ validatethreads
85validatearch 85validatearch
86 86
87STD="-std=c11" 87STD="-std=c11"
88WFLAGS="-pedantic -Wall -Wextra" 88WFLAGS="-pedantic -Wall -Wextra -Werror"
89WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas" 89WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas"
90WNOFLAGS="$WNOFLAGS -Wno-unused-command-line-argument"
90 91
91[ "$ARCH" = "AVX2" ] && AVX="-mavx2" 92[ "$ARCH" = "AVX2" ] && AVX="-mavx2"
92 93

Generated with cgit - Back to sebastiano.tronto.net