X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tools%2Fmake-windows-release;h=a7adf21cf4c36fac36aa1cc6754fc1276738c41f;hp=fe300691f9ade454130a922fa628d17953908eed;hb=53b75051f0e9cde007101eeca37cbe3884e03f18;hpb=d1284a3b721162794ebd7131d090ab7c0cba92a3 diff --git a/tools/make-windows-release b/tools/make-windows-release index fe300691..a7adf21c 100755 --- a/tools/make-windows-release +++ b/tools/make-windows-release @@ -46,6 +46,10 @@ fi if ! grep -q "./configure --host=${ARCH}-w64-mingw32" config.log || \ ! grep -q "configure: exit 0" config.log then + extra_args= + if [ $ARCH = x86_64 ]; then + extra_args="--enable-ssse3-sha1" + fi # Note: putting -static-libgcc in CC is a workaround for libtool # stripping it: # http://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags @@ -53,7 +57,8 @@ then CC="${ARCH}-w64-mingw32-gcc -static-libgcc" \ CFLAGS="-O2 -Wall" \ CPPFLAGS="-I$SYSROOT/include -I$SYSROOT/include/libxml2"\ - LDFLAGS="-L$SYSROOT/lib" + LDFLAGS="-L$SYSROOT/lib" \ + $extra_args $MAKE clean fi $MAKE