From b9503e77a394f90202894db4382acaed6845d6a3 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 9 Dec 2022 09:43:42 -0600 Subject: Fix copy/paste bug. Do not assume ranlib can be found. --- scripts/bootstrap.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 3617a0c74..ae96e653e 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -412,16 +412,10 @@ if ! test -d "${MTOOLS}/sys/emus/bin"; then # FIXME: no hard code ARCH=${BUILDS} \ ./bootstrap \ ; - # cleaning - ( - cd "${MTOOLS}"; - rm -fr tmp; # save 10 GB - ) test -f "${MTOOLS}"/config.mak || \ cp "${MTOOLS}"/tmp/musl-cross-make/config.mak \ "${MTOOLS}"/config.mak \ ; - # cleaning ( cd "${MTOOLS}"; @@ -526,6 +520,7 @@ CXX=${TARGET}-g++ \ AR=${TARGET}-ar \ LD=${TARGET}-ld \ CPP=${TARGET}-cpp \ +RANLIB=${TARGET}-ranlib \ ${MTOOLS}/sys/emus/bin/proot \ -S "${MTOOLS}"/sys \ -q "${MTOOLS}"/sys/emus/bin/qemu-${q} \ -- cgit v1.2.3-70-g09d2