[arch-commits] Commit in binutils/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Mon Jul 2 13:30:13 UTC 2012


    Date: Monday, July 2, 2012 @ 09:30:13
  Author: allan
Revision: 162861

upgpkg: binutils 2.22-8

glibc-2.16 toolchain rebuild, fix gold testsuite running

Modified:
  binutils/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-07-02 13:12:42 UTC (rev 162860)
+++ PKGBUILD	2012-07-02 13:30:13 UTC (rev 162861)
@@ -5,14 +5,14 @@
 
 pkgname=binutils
 pkgver=2.22
-pkgrel=7
+pkgrel=8
 _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.15' 'zlib')
+depends=('glibc>=2.16' 'zlib')
 checkdepends=('dejagnu')
 options=('!libtool' '!distcc' '!ccache')
 install=binutils.install
@@ -66,7 +66,9 @@
   cd ${srcdir}/binutils-build
 
   # do not abort on errors - manually check log files
-  make -k -j1 check || true
+  # gold testsuite does not build with _FORTIFY_SOURCE (due to -O0 -Werror)
+  make CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}" \
+       CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2/}" -k check || true
 }
 
 package() {




More information about the arch-commits mailing list