From df2d78fbd7e9020910ab1cf9efeba028bccae1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 1 Dec 2022 11:27:50 +0200 Subject: [PATCH] build-make: Take the CLEAN variable into account like in other scripts --- build-make.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-make.sh b/build-make.sh index ed16002..f2aa46e 100755 --- a/build-make.sh +++ b/build-make.sh @@ -64,6 +64,7 @@ if [ -n "$HOST" ]; then CROSS_NAME=-$HOST fi +[ -z "$CLEAN" ] || rm -rf build$CROSS_NAME mkdir -p build$CROSS_NAME cd build$CROSS_NAME ../configure --prefix="$PREFIX" $CONFIGFLAGS --program-prefix=mingw32- --enable-job-server LDFLAGS="-Wl,-s"