summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
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