aboutsummaryrefslogtreecommitdiffstats
path: root/main/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'main/binutils')
-rw-r--r--main/binutils/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index 00ed4ff5c8..ad65c862d8 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -8,19 +8,18 @@ depends=
makedepends="bison flex texinfo zlib-dev"
arch="all"
license="GPL"
-_pkgname=$pkgname
+subpackages="$pkgname-doc $pkgname-libs"
+_builddir="$srcdir/$pkgname-$pkgver"
if [ "$CHOST" != "$CTARGET" ] && [ -n "$CHOST" -a -n "$CTARGET" ]; then
pkgname="$pkgname-$CTARGET"
+ subpackages=""
somask="libbfd-$pkgver.so libopcodes-$pkgver.so"
fi
-subpackages="$pkgname-doc $pkgname-libs"
source="http://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
binutils-ld-fix-static-linking.patch"
-_builddir="$srcdir/$_pkgname-$pkgver"
-
prepare() {
local i
cd "$_builddir"