summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-09 09:43:42 -0600
committerZach van Rijn <me@zv.io>2024-08-10 06:09:07 +0000
commitb9503e77a394f90202894db4382acaed6845d6a3 (patch)
tree8f7a224af45a00602536b4156158abddcf8edf31 /scripts
parentab793c18beed332b2788d4b3fa848df8dfa61659 (diff)
downloadpackages-b9503e77a394f90202894db4382acaed6845d6a3.tar.gz
packages-b9503e77a394f90202894db4382acaed6845d6a3.tar.bz2
packages-b9503e77a394f90202894db4382acaed6845d6a3.tar.xz
packages-b9503e77a394f90202894db4382acaed6845d6a3.zip
Fix copy/paste bug. Do not assume ranlib can be found.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh7
1 files changed, 1 insertions, 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} \