Run make distclean, not just make clean in the msys2 build scripts

for consistency with other build scripts
This commit is contained in:
Frank Denis 2015-12-10 10:26:15 +01:00
parent 0879c0bd22
commit e7d9129729
2 changed files with 4 additions and 2 deletions

View File

@ -3,9 +3,10 @@
export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona" export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona"
export PREFIX="$(pwd)/libsodium-win32" export PREFIX="$(pwd)/libsodium-win32"
make distclean > /dev/null
./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
--host=i686-w64-mingw32 && \ --host=i686-w64-mingw32 && \
make clean && \
make && \ make && \
make check && \ make check && \
make install make install

View File

@ -3,9 +3,10 @@
export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona" export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona"
export PREFIX="$(pwd)/libsodium-win64" export PREFIX="$(pwd)/libsodium-win64"
make distclean > /dev/null
./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
--host=x86_64-w64-mingw32 && \ --host=x86_64-w64-mingw32 && \
make clean && \
make && \ make && \
make check && \ make check && \
make install make install