From e7d9129729cba1d7c2e728dae59d032d0d0a0e71 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 10 Dec 2015 10:26:15 +0100 Subject: [PATCH] Run make distclean, not just make clean in the msys2 build scripts for consistency with other build scripts --- dist-build/msys2-win32.sh | 3 ++- dist-build/msys2-win64.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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