summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'core/binutils')
-rw-r--r--core/binutils/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 233633e31..fb7a999a6 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 158099 2012-05-02 22:27:06Z allan $
+# $Id: PKGBUILD 163009 2012-07-05 13:48:25Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
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 @@ check() {
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() {