binutils: update to 2.25.
This commit is contained in:
parent
2bd5d33e09
commit
5e7b65066e
1 changed files with 3 additions and 9 deletions
|
@ -1,27 +1,24 @@
|
|||
# Template file for 'binutils'
|
||||
pkgname=binutils
|
||||
version=2.24
|
||||
revision=4
|
||||
version=2.25
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
replaces="chroot-binutils>=0"
|
||||
short_desc="GNU binary utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnu.org/software/binutils/"
|
||||
license="GPL-3"
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
checksum=4930b2886309112c00a279483eaef2f0f8e1b1b62010e0239c16b22af7c346d4
|
||||
checksum=cccf377168b41a52a76f46df18feb8f7285654b3c1bd69fc8265cb0fc6902f2d
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="flex perl"
|
||||
fi
|
||||
|
||||
makedepends+=" zlib-devel"
|
||||
|
||||
pre_configure() {
|
||||
# Drop bashism!
|
||||
sed -e 's,source,\.,g' -i ld/scripttempl/elf.sc
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
||||
|
@ -36,7 +33,6 @@ do_configure() {
|
|||
--disable-shared --enable-gold --disable-werror \
|
||||
--enable-ld=default $CONFIGFLAG LDFLAGS=
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
|
||||
|
@ -56,7 +52,6 @@ do_build() {
|
|||
make -C opcodes-pic clean
|
||||
make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
|
||||
}
|
||||
|
||||
do_install() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
|
@ -98,7 +93,6 @@ do_install() {
|
|||
}
|
||||
|
||||
binutils-devel_package() {
|
||||
replaces="chroot-binutils>=0"
|
||||
depends="zlib-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in a new issue