]> wimlib.net Git - wimlib/blobdiff - tools/make-windows-release
Use -Wall -Werror when compiling releases
[wimlib] / tools / make-windows-release
index 39e31ed00db7a7d66f1ed37564ee3aba1ed33064..3e3546d195150d603ae5e3ea2d4f4fc0dcd68ad9 100755 (executable)
@@ -55,10 +55,10 @@ 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"                \
+               --without-libcrypto                                     \
                $extra_args
        $MAKE clean
 fi
                $extra_args
        $MAKE clean
 fi