[arch-commits] CVS update of arch/build/base/binutils (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Sep 9 14:36:43 EDT 2007


    Date: Sunday, September 9, 2007 @ 14:36:43
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/base/binutils

Modified: PKGBUILD (1.41 -> 1.42)

build bfd with fPIC for x86_64


----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)


Index: arch/build/base/binutils/PKGBUILD
diff -u arch/build/base/binutils/PKGBUILD:1.41 arch/build/base/binutils/PKGBUILD:1.42
--- arch/build/base/binutils/PKGBUILD:1.41	Sat Sep  1 02:19:33 2007
+++ arch/build/base/binutils/PKGBUILD	Sun Sep  9 14:36:43 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.41 2007/09/01 06:19:33 andyrtr Exp $
+# $Id: PKGBUILD,v 1.42 2007/09/09 18:36:43 andyrtr Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 
 # compile always twice: first binutils, then gcc, then binutils again
@@ -17,7 +17,8 @@
 source=(#ftp://ftp.kernel.org/pub/linux/devel/${pkgname}/${pkgname}-${pkgver}.tar.bz2
 	http://ftp.gnu.org/gnu/binutils/${pkgname}-${pkgver}.tar.gz
 	binutils-2.17.50.0.16-version.patch)
-
+md5sums=('d71b23b4fb91e66802ca2b8f576629f4'
+         '31756e7da3299fb2b254d9837bd715ca')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
@@ -45,6 +46,10 @@
     make -C libiberty clean
     make CFLAGS="$CFLAGS -fPIC" -C libiberty
     install -m 644 libiberty/libiberty.a ${startdir}/pkg/usr/lib
+    # Rebuild libbfd.a with -fPIC
+    make -C bfd clean
+    make CFLAGS="$CFLAGS -fPIC" -C bfd
+    install -m 644 bfd/libbfd.a ${startdir}/pkg/usr/lib
   fi
 
   rm -f ${startdir}/pkg/usr/man/man1/{dlltool,nlmconv,windres}*




More information about the arch-commits mailing list