diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-06 08:49:44 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-06 08:49:44 +0200 |
| commit | 1fcba7fcea462d67379c8d289bd7e0ad52170e02 (patch) | |
| tree | 20d9fd74a81111ba84099ca215d6723a621b736e /configure.sh | |
| parent | f85ac77efc0feeeab183e509a7baca1c507da3c5 (diff) | |
| download | nissy-core-1fcba7fcea462d67379c8d289bd7e0ad52170e02.tar.gz nissy-core-1fcba7fcea462d67379c8d289bd7e0ad52170e02.zip | |
Patch up spurious warning
Diffstat (limited to 'configure.sh')
| -rwxr-xr-x | configure.sh | 5 |
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 | ||
| 28 | STD="-std=c99" | 28 | STD="-std=c99" |
| 29 | WFLAGS="-pedantic -Wall -Wextra" | 29 | WFLAGS="-pedantic -Wall -Wextra" |
| 30 | # -Wstringop-overflow seems to be causing problems when combined with -O3 | 30 | WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas" |
| 31 | # Someone else complained here: https://access.redhat.com/solutions/6755371 | 31 | |
| 32 | WNOFLAGS="-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" |
