From: Eric Biggers Date: Sun, 14 Feb 2016 04:32:49 +0000 (-0600) Subject: Use -Wall -Werror when compiling releases X-Git-Tag: v1.9.1~31 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=fd49c16d9dc87317408bc43b9fdc84bd5a0171f8 Use -Wall -Werror when compiling releases --- diff --git a/tools/make-releases b/tools/make-releases index 5505bb50..fad2b88c 100755 --- a/tools/make-releases +++ b/tools/make-releases @@ -4,6 +4,8 @@ set -e MAKE="make -j$(grep -c processor /proc/cpuinfo)" +export CFLAGS="-O2 -Wall -Werror" + ./configure && $MAKE distcheck # Recompress with 7-Zip diff --git a/tools/make-windows-release b/tools/make-windows-release index da1d4ed6..3e3546d1 100755 --- a/tools/make-windows-release +++ b/tools/make-windows-release @@ -55,7 +55,6 @@ then # http://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags ./configure --host=${ARCH}-w64-mingw32 --disable-static \ CC="${ARCH}-w64-mingw32-gcc -static-libgcc" \ - CFLAGS="-O2 -Wall" \ CPPFLAGS="-I$SYSROOT/include" \ LDFLAGS="-L$SYSROOT/lib" \ PKG_CONFIG_PATH="$SYSROOT/lib/pkgconfig" \