Clean the build dirs before building, if the env var CLEAN is set

This commit is contained in:
Martin Storsjö committed 2020-03-25 23:24:31 +02:00
1 parent 36fc0f6432
commit 8e461131cf
7 files changed
+11

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ cd mingw-w64/mingw-w64-libraries
for lib in winpthreads winstorecompat; do
cd $lib
for arch in $ARCHS; do
[ -z "$CLEAN" ] || rm -rf build-$arch
mkdir -p build-$arch
cd build-$arch
../configure --host=$arch-w64-mingw32 --prefix="$PREFIX/$arch-w64-mingw32" --libdir="$PREFIX/$arch-w64-mingw32/lib"