Improved the performance of XPRESS compression and LZMS decompression.
+ Enabled SSSE3 accelerated SHA-1 computation in x86_64 Windows builds.
+ It will automatically be faster on newer Intel and AMD processors.
+
Removed the --with-imagex-progname and --enable-more-assertions
configure options.
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
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