summaryrefslogtreecommitdiffstats
path: root/abs/core/binutils
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-02-23 17:53:16 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-02-23 17:53:16 (GMT)
commiteb60bce7602a26b0320cdc398b62a87144196d55 (patch)
tree51882a86ca687a46b85a158781c2e83f8b2e3d97 /abs/core/binutils
parentbc743255651a52f7767da3a5a00a370a7a8633f6 (diff)
downloadlinhes_pkgbuild-eb60bce7602a26b0320cdc398b62a87144196d55.zip
linhes_pkgbuild-eb60bce7602a26b0320cdc398b62a87144196d55.tar.gz
linhes_pkgbuild-eb60bce7602a26b0320cdc398b62a87144196d55.tar.bz2
binutils: update to 2.26
Diffstat (limited to 'abs/core/binutils')
-rw-r--r--abs/core/binutils/PKGBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/abs/core/binutils/PKGBUILD b/abs/core/binutils/PKGBUILD
index ad4a71e..dda9eda 100644
--- a/abs/core/binutils/PKGBUILD
+++ b/abs/core/binutils/PKGBUILD
@@ -3,34 +3,27 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
-# build from head of release branch as bug fix releases are rare
-
pkgname=binutils
-pkgver=2.25.1
-pkgrel=3
-_commit=2bd25930
+pkgver=2.26
+pkgrel=1
+_commit=a4496709
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base-devel')
-depends=('glibc>=2.22' 'zlib')
+depends=('glibc>=2.23' 'zlib')
makedepends=('git')
checkdepends=('dejagnu' 'bc')
conflicts=('binutils-multilib')
replaces=('binutils-multilib')
options=('staticlibs' '!distcc' '!ccache')
install=binutils.install
-source=(git://sourceware.org/git/binutils-gdb.git#commit=${_commit}
- binutils-e9c1bdad.patch)
-md5sums=('SKIP'
- 'eb3aceaab8ed26e06d505f82beb30f8f')
+source=(git://sourceware.org/git/binutils-gdb.git#commit=${_commit})
+md5sums=('SKIP')
prepare() {
- cd ${srcdir}/binutils-gdb
-
- # https://sourceware.org/bugzilla/show_bug.cgi?id=16992
- patch -p1 -i ${srcdir}/binutils-e9c1bdad.patch
+ cd binutils-gdb
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
@@ -39,9 +32,9 @@ prepare() {
}
build() {
- cd ${srcdir}/binutils-build
+ cd binutils-build
- ${srcdir}/binutils-gdb/configure --prefix=/usr \
+ ../binutils-gdb/configure --prefix=/usr \
--with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://bugs.archlinux.org/ \
--enable-threads --enable-shared --with-pic \
@@ -56,7 +49,7 @@ build() {
}
check() {
- cd ${srcdir}/binutils-build
+ cd binutils-build
# unset LDFLAGS as testsuite makes assumptions about which ones are active
# ignore failures in gold testsuite...
@@ -64,7 +57,7 @@ check() {
}
package() {
- cd ${srcdir}/binutils-build
+ cd binutils-build
make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
# Remove unwanted files
@@ -72,4 +65,6 @@ package() {
# No shared linking to these files outside binutils
rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
+ echo "INPUT ( %{_libdir}/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so
+ echo "INPUT ( %{_libdir}/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so
}