]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Make -warn use the pedantic parameter that makes warnings, not errors.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 24 Apr 2017 09:17:50 +0000 (11:17 +0200)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 24 Apr 2017 09:17:50 +0000 (11:17 +0200)
configure

index a9e7fde76a452377e4cb31ee9d904dee72e0cc27..b7ce409dd9873ca9b6fb1e3204d141a8121a86cb 100755 (executable)
--- a/configure
+++ b/configure
@@ -273,7 +273,7 @@ if test "$gcc" -eq 1 && ($cc $CFLAGS -c $test.c) >> configure.log 2>&1; then
     SFLAGS="${SFLAGS} -march=native"
   fi
   if test "$warn" -eq 1; then
-    CFLAGS="${CFLAGS} -Wextra -pedantic"
+    CFLAGS="${CFLAGS} -Wextra -Wpedantic"
   fi
   if test $debug -eq 1; then
     CFLAGS="${CFLAGS} -DZLIB_DEBUG"