]> wimlib.net Git - wimlib/blobdiff - tools/make-windows-release
Use -Wall -Werror when compiling releases
[wimlib] / tools / make-windows-release
index 17769b06c532f7b4419238e3bdca3b67938b3a9b..3e3546d195150d603ae5e3ea2d4f4fc0dcd68ad9 100755 (executable)
@@ -55,9 +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"             \
-               CFLAGS="-O2 -Wall"                                      \
-               CPPFLAGS="-I$SYSROOT/include -I$SYSROOT/include/libxml2 -DLIBXML_STATIC"\
+               CPPFLAGS="-I$SYSROOT/include"                           \
                LDFLAGS="-L$SYSROOT/lib"                                \
+               PKG_CONFIG_PATH="$SYSROOT/lib/pkgconfig"                \
+               --without-libcrypto                                     \
                $extra_args
        $MAKE clean
 fi