mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
core/binutils to 2.23.2-2
This commit is contained in:
parent
f9fe97c01b
commit
f2f07e4db4
1 changed files with 10 additions and 4 deletions
|
@ -11,7 +11,7 @@ noautobuild=1
|
|||
|
||||
pkgname=binutils
|
||||
pkgver=2.23.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A set of programs to assemble and manipulate binary and object files"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnu.org/software/binutils/"
|
||||
|
@ -27,15 +27,21 @@ md5sums=('4f8fa651e35ef262edc01d60fb45702e'
|
|||
'dfde4428f08d91f309cdcfe92bf28d08'
|
||||
'34e439ce23213a91e2af872dfbb5094c')
|
||||
|
||||
build() {
|
||||
prepare() {
|
||||
cd ${srcdir}/binutils-${pkgver}
|
||||
|
||||
# http://sourceware.org/git/?p=binutils.git;a=patch;h=e02bf935
|
||||
# http://sourceware.org/git/?p=binutils.git;a=patch;h=935f8542
|
||||
patch -p1 -i ${srcdir}/binutils-2.23.2-texinfo-5.0.patch
|
||||
|
||||
cd ${srcdir}
|
||||
mkdir binutils-build && cd binutils-build
|
||||
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
|
||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
|
||||
|
||||
mkdir ${srcdir}/binutils-build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/binutils-build
|
||||
|
||||
[[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd --disable-multilib"
|
||||
|
||||
|
|
Loading…
Reference in a new issue