core/binutils to 2.34-4

This commit is contained in:
Kevin Mihelich 2020-05-22 12:41:13 +00:00
parent e1e37ec7ba
commit 8d16bb04db

View file

@ -11,7 +11,7 @@ noautobuild=1
pkgname=binutils
pkgver=2.34
pkgrel=3
pkgrel=4
pkgdesc='A set of programs to assemble and manipulate binary and object files'
arch=(x86_64)
url='https://www.gnu.org/software/binutils/'
@ -20,12 +20,11 @@ groups=(base-devel)
depends=(glibc zlib elfutils)
makedepends=(elfutils git)
options=(staticlibs !distcc !ccache)
_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
#source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
_commit=5768460022b2928f1a5bd6d14dcc6176319a1c01
sha256sums=('SKIP')
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
md5sums=('SKIP')
prepare() {
[[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
@ -33,6 +32,9 @@ prepare() {
cd binutils-gdb
# Turn off development mode (-Werror, gas run-time checks, date in sonames)
sed -i '/^development=/s/true/false/' bfd/development.sh
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
}