summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-20 02:42:31 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-20 02:42:31 -0500
commit69afe06fa5f0b46de3217aab392f62f1c2342115 (patch)
tree2caf5a7723c0bda682574ae4bd4a3dc8044a35e4 /system
parentd50a0801c17e698a005df65a5db44665698a8948 (diff)
downloadpackages-69afe06fa5f0b46de3217aab392f62f1c2342115.tar.gz
packages-69afe06fa5f0b46de3217aab392f62f1c2342115.tar.bz2
packages-69afe06fa5f0b46de3217aab392f62f1c2342115.tar.xz
packages-69afe06fa5f0b46de3217aab392f62f1c2342115.zip
system/binutils and musl: make bootstrap work properly
Diffstat (limited to 'system')
-rw-r--r--system/binutils/APKBUILD1
-rw-r--r--system/musl/APKBUILD2
2 files changed, 2 insertions, 1 deletions
diff --git a/system/binutils/APKBUILD b/system/binutils/APKBUILD
index faf5fca53..57eb9688c 100644
--- a/system/binutils/APKBUILD
+++ b/system/binutils/APKBUILD
@@ -31,6 +31,7 @@ if [ "$CHOST" != "$CTARGET" ]; then
subpackages=""
options="!check"
sonameprefix="$pkgname:"
+ builddir="$srcdir"/binutils-$pkgver
fi
# secfixes:
diff --git a/system/musl/APKBUILD b/system/musl/APKBUILD
index ed533e29b..221f11f2c 100644
--- a/system/musl/APKBUILD
+++ b/system/musl/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="!uclibc-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-dbg"
case "$BOOTSTRAP" in
-nocc) pkgname="musl-dev"; subpackages=""; options="$options !dbg";;
+nocc) pkgname="musl-dev"; subpackages=""; options="$options !dbg" builddir="$srcdir"/musl-$pkgver;;
nolibc) ;;
*) subpackages="$subpackages $pkgname-utils";;
esac