[arch-commits] Commit in binutils/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Mar 24 08:46:46 UTC 2012
Date: Saturday, March 24, 2012 @ 04:46:45
Author: allan
Revision: 154189
upgpkg: binutils 2.22-5
gcc-4.7 toolchain rebuild, new upstream snapshot
Modified:
binutils/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-03-24 08:45:35 UTC (rev 154188)
+++ PKGBUILD 2012-03-24 08:46:45 UTC (rev 154189)
@@ -5,19 +5,19 @@
pkgname=binutils
pkgver=2.22
-pkgrel=4
-_date=20111227
+pkgrel=5
+_date=20120323
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base-devel')
-depends=('glibc>=2.14' 'zlib')
+depends=('glibc>=2.15' 'zlib')
checkdepends=('dejagnu')
options=('!libtool' '!distcc' '!ccache')
install=binutils.install
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('c2377089c15bb1a1bfaeca8d0e59dd4d')
+md5sums=('de2ac4298732827f8af706fc24020330')
mksource() {
mkdir ${pkgname}-${_date}
@@ -55,6 +55,11 @@
cp -a bfd bfd-pic
make -C bfd-pic clean
make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
+
+ # Rebuild libopcodes.a with -fPIC
+ cp -a opcodes opcodes-pic
+ make -C opcodes-pic clean
+ make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
}
check() {
@@ -75,6 +80,7 @@
# install libraries rebuilt with -fPIC
install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib
install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib
+ install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib
# Remove Windows/Novell specific man pages
rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
More information about the arch-commits
mailing list