Merge pull request #1621 from beefcurtains/binutils

Binutils
This commit is contained in:
Juan RP 2015-05-20 17:48:44 +02:00
commit 7295382abf
1 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
# Template file for 'binutils'
pkgname=binutils
version=2.25
revision=2
revision=3
bootstrap=yes
short_desc="GNU binary utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/binutils/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=cccf377168b41a52a76f46df18feb8f7285654b3c1bd69fc8265cb0fc6902f2d
if [ "$CHROOT_READY" ]; then
@ -18,7 +18,7 @@ makedepends+=" zlib-devel"
pre_configure() {
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
# Drop bashism!
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
sed -e 's,source,\.,g' -i ld/scripttempl/elf32msp430.sc
}
do_configure() {
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then