From c8606ce30727832f823c38432b4f13e410e06715 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 17 Apr 2022 22:23:35 +0100 Subject: added host to binutils stage1 --- bootstrap/bootstrap.sh | 1 + bootstrap/stage1.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh index 0707520..2c244f1 100755 --- a/bootstrap/bootstrap.sh +++ b/bootstrap/bootstrap.sh @@ -61,6 +61,7 @@ FINDUTILS_VER=$(getversion findutils) CURL_OPTS="-SsL" +HOST=x86_64-linux-gnu TARGET=x86_64-linux-musl ARCH=x86 CPU=x86-64 diff --git a/bootstrap/stage1.sh b/bootstrap/stage1.sh index 93585e2..a41b952 100644 --- a/bootstrap/stage1.sh +++ b/bootstrap/stage1.sh @@ -22,6 +22,7 @@ cross_tools_binutils () { ../configure \ --prefix=${CROSS_TOOLS} \ --target=${TARGET} \ + --host=${HOST} --with-sysroot=${CROSS_TOOLS}/${TARGET} \ --disable-nls \ --disable-multilib \ -- cgit v1.2.1