From 1c618e9658adaec86ff79f6c677a7254c4722064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 20 Sep 2013 13:47:53 +0000 Subject: main/binutils: fix crosscompiler generation --- main/binutils/APKBUILD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'main') 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" -- cgit v1.2.3