diff --git a/dist-build/msys2-win32.sh b/dist-build/msys2-win32.sh index 65f0c2a8..d6e1ec36 100755 --- a/dist-build/msys2-win32.sh +++ b/dist-build/msys2-win32.sh @@ -3,9 +3,10 @@ export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona" export PREFIX="$(pwd)/libsodium-win32" +make distclean > /dev/null + ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ --host=i686-w64-mingw32 && \ -make clean && \ make && \ make check && \ make install diff --git a/dist-build/msys2-win64.sh b/dist-build/msys2-win64.sh index 35910ba5..3d3d3a77 100755 --- a/dist-build/msys2-win64.sh +++ b/dist-build/msys2-win64.sh @@ -3,9 +3,10 @@ export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona" export PREFIX="$(pwd)/libsodium-win64" +make distclean > /dev/null + ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ --host=x86_64-w64-mingw32 && \ -make clean && \ make && \ make check && \ make install