build-make: Take the CLEAN variable into account like in other scripts

This commit is contained in:
Martin Storsjö committed 2023-07-20 10:53:08 +03:00
1 parent fa0eec51be
commit df2d78fbd7
1 file changed
+1
+1
View File
@@ -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"