summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-17 22:23:35 +0100
committerdavidovski <david@davidovski.xyz>2022-04-17 22:23:35 +0100
commitc8606ce30727832f823c38432b4f13e410e06715 (patch)
tree0e0d0f2ef8b37a5175bb7de9794f53533c9f2eaa /bootstrap
parent19fe66e50bb974ee67abd73a8d4b3d3c6e500c10 (diff)
added host to binutils stage1
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap.sh1
-rw-r--r--bootstrap/stage1.sh1
2 files changed, 2 insertions, 0 deletions
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 \