summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-21 19:24:13 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-21 19:24:13 -0600
commit1713a8b18a5af3f3901beb00082163a99231f26e (patch)
tree27aa914129bce0138ab3705bd261cf7d695cad93
parenteefdd1183850caae8dde2894732e000a8bc19d55 (diff)
downloadpackages-1713a8b18a5af3f3901beb00082163a99231f26e.tar.gz
packages-1713a8b18a5af3f3901beb00082163a99231f26e.tar.bz2
packages-1713a8b18a5af3f3901beb00082163a99231f26e.tar.xz
packages-1713a8b18a5af3f3901beb00082163a99231f26e.zip
scripts/newstrap: Use _TARGET for gcc-pass2 also
EXTRADEPENDS_HOST isn't correct for this and failed to build a ppc64le toolchain for me locally, even though m68k is fine. With this change I have a fully functional ppc64le toolchain.
-rwxr-xr-xscripts/newstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/newstrap.sh b/scripts/newstrap.sh
index 67276cef3..ba3974795 100755
--- a/scripts/newstrap.sh
+++ b/scripts/newstrap.sh
@@ -191,7 +191,7 @@ abuild_target() {
CTARGET=$ARCH BOOTSTRAP=nobase abuild_host binutils
CHOST=$ARCH BOOTSTRAP=nocc abuild_host musl
-EXTRADEPENDS_HOST=musl-dev CTARGET=$ARCH BOOTSTRAP=nolibc abuild_host gcc
+EXTRADEPENDS_TARGET=musl-dev CTARGET=$ARCH BOOTSTRAP=nolibc abuild_host gcc
EXTRADEPENDS_BUILD=gcc-pass2-$ARCH CHOST=$ARCH BOOTSTRAP=nolibc abuild_host musl
EXTRADEPENDS_BUILD=gcc-pass2-$ARCH EXTRADEPENDS_TARGET="musl musl-dev" CTARGET=$ARCH BOOTSTRAP=nobase abuild_host gcc