diff --git a/dist-build/msys2-win32.sh b/dist-build/msys2-win32.sh index 5809d45c..2b15d132 100755 --- a/dist-build/msys2-win32.sh +++ b/dist-build/msys2-win32.sh @@ -3,7 +3,8 @@ export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona" export PREFIX="$(pwd)/libsodium-win32" -./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ +./configure --enable-minimal \ + --prefix="$PREFIX" --exec-prefix="$PREFIX" \ --host=i686-w64-mingw32 && \ make && \ make check && \ diff --git a/dist-build/msys2-win64.sh b/dist-build/msys2-win64.sh index b7b75d10..5aeb0725 100755 --- a/dist-build/msys2-win64.sh +++ b/dist-build/msys2-win64.sh @@ -3,7 +3,8 @@ export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona" export PREFIX="$(pwd)/libsodium-win64" -./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ +./configure --enable-minimal \ + --prefix="$PREFIX" --exec-prefix="$PREFIX" \ --host=x86_64-w64-mingw32 && \ make && \ make check && \