]> wimlib.net Git - wimlib/blobdiff - tools/make-windows-release
Use -Wall -Werror when compiling releases
[wimlib] / tools / make-windows-release
index da1d4ed65cc0a81112a2988ce38003eec7bf4998..3e3546d195150d603ae5e3ea2d4f4fc0dcd68ad9 100755 (executable)
@@ -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"             \
        # 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"                \
                CPPFLAGS="-I$SYSROOT/include"                           \
                LDFLAGS="-L$SYSROOT/lib"                                \
                PKG_CONFIG_PATH="$SYSROOT/lib/pkgconfig"                \