aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-05-17 16:07:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-05-17 16:07:25 +0000
commit982518dd32b247913fcf8e0b12f9f9f32415658b (patch)
treea20747b17329455ec0ef67067a6400a8fa2cddcc
parenta02ccef18c1eedaf566d1e2ed1b830aaaf308bbf (diff)
downloadskalibs-982518dd32b247913fcf8e0b12f9f9f32415658b.tar.gz
Yeah, maybe don't hardcode it
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index f4aa043..e966e40 100755
--- a/configure
+++ b/configure
@@ -161,7 +161,7 @@ choose () {
libs="$*"
r=true
case "$what" in
- *c*) $CC_AUTO $CPPFLAGS_AUTO $CPPFLAGS $CPPFLAGS_POST $CFLAGS_AUTO $CFLAGS $CFLAGS_POST -Werror=incompatible-pointer-types -o "$tmpo" -c src/sysdeps/try$name.c 2>/dev/null || r=false ;;
+ *c*) $CC_AUTO $CPPFLAGS_AUTO $CPPFLAGS $CPPFLAGS_POST $CFLAGS_AUTO $CFLAGS $CFLAGS_POST -o "$tmpo" -c src/sysdeps/try$name.c 2>/dev/null || r=false ;;
esac
if $r ; then
case "$what" in
@@ -630,6 +630,7 @@ tryflag CPPFLAGS_AUTO -Werror=implicit-function-declaration
tryflag CPPFLAGS_AUTO -Werror=implicit-int
tryflag CPPFLAGS_AUTO -Werror=pointer-sign
tryflag CPPFLAGS_AUTO -Werror=pointer-arith
+tryflag CPPFLAGS_AUTO -Werror=incompatible-pointer-types
tryflag CPPFLAGS_AUTO -Wno-unused-value
tryflag CPPFLAGS_AUTO -Wno-parentheses
tryflag CFLAGS_AUTO -ffunction-sections