From bf91ef2d7a998036fb3b1b8f9c6b1326388ae6cd Mon Sep 17 00:00:00 2001 From: Alexpux Date: Sun, 8 Dec 2013 18:15:10 +0400 Subject: [PATCH] mingw-w64 cross binutils update to 2.24 --- mingw-w64-cross-binutils/PKGBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/mingw-w64-cross-binutils/PKGBUILD b/mingw-w64-cross-binutils/PKGBUILD index cc4ea0fa..5a1a0ce7 100644 --- a/mingw-w64-cross-binutils/PKGBUILD +++ b/mingw-w64-cross-binutils/PKGBUILD @@ -3,9 +3,9 @@ _realname=binutils _mingw_suff=mingw-w64-cross pkgname=("${_mingw_suff}-${_realname}") -_basever=2.24.51 -pkgver=${_basever}.20131119 -#pkgver=2.23.2 +#_basever=2.24.51 +#pkgver=${_basever}.20131119 +pkgver=2.24 pkgrel=1 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') @@ -17,21 +17,21 @@ checkdepends=('dejagnu' 'bc') makedepends=("libiconv" "zlib") options=('staticlibs' '!distcc' '!ccache' '!buildflags') #install=binutils.install -source=("ftp://mirrors.kernel.org/sources.redhat.com/binutils/snapshots/binutils-${_basever}.tar.bz2" - 'binutils-trunk-msys2.patch') -md5sums=('9816c8f69beaaf8f7c468dcd4e4bfceb' +source=(#"ftp://mirrors.kernel.org/sources.redhat.com/binutils/snapshots/binutils-${_basever}.tar.bz2" + ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} + 'binutils-trunk-msys2.patch') +md5sums=('e0f71a7b2ddab0f8612336ac81d9636b' + 'SKIP' '6f7175b7ed29bc597f0d300500e2b651') _targets="i686-w64-mingw32 x86_64-w64-mingw32" prepare() { - cd ${srcdir}/binutils-${_basever} + 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-trunk-msys2.patch #do not install libiberty - sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in + #sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure @@ -47,7 +47,7 @@ build() { else local _conf='' fi - ${srcdir}/binutils-${_basever}/configure \ + ${srcdir}/binutils-${pkgver}/configure \ --build=${CHOST} \ --host=${CHOST} \ --target=${_target} \