aboutsummaryrefslogtreecommitdiffstats
path: root/main/binutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/binutils/APKBUILD')
-rw-r--r--main/binutils/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index a2c952630a..a6d58bd160 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=binutils
-pkgver=2.20.51.0.4
-pkgrel=1
+pkgver=2.20.51.0.12
+pkgrel=0
pkgdesc="Tools necessary to build programs"
url=http://sources.redhat.com/binutils
source="http://ftp.kernel.org/pub/linux/devel/binutils/$pkgname-$pkgver.tar.bz2"
@@ -16,6 +16,7 @@ build() {
--mandir /usr/share/man \
--build ${CHOST:-i486-alpine-linux-uclibc} \
--infodir /usr/share/info \
+ --disable-multilib \
--enable-shared \
--enable-64-bit-bfd \
--disable-werror \
@@ -27,5 +28,9 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
+ if [ -d "$pkgdir"/usr/lib64 ]; then
+ mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib/
+ rmdir "$pkgdir"/usr/lib64
+ fi
}
-md5sums="efcc89be7573fd3d8ec55236eebdf528 binutils-2.20.51.0.4.tar.bz2"
+md5sums="f3a1f0535935ddae61ded2bcd3c7ce09 binutils-2.20.51.0.12.tar.bz2"