From 87fb5d9339c3dd9803dd81520594d832fe29e41e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 14 Dec 2011 14:56:59 +0000 Subject: main/valgrind: disable PIE and stack protector fixes build on x86 --- main/valgrind/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/valgrind/APKBUILD') diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD index efee9f6f37..31b5db4029 100644 --- a/main/valgrind/APKBUILD +++ b/main/valgrind/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=valgrind pkgver=3.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="A tool to help find memory-management problems in programs" url="http://valgrind.org/" arch="all" @@ -34,6 +34,7 @@ build() { cd "$_builddir" # fails to build with ccache export CC="gcc" + export CFLAGS="$CFLAGS -fno-stack-protector -fno-pie" ./configure --prefix=/usr \ --without-mpicc \ --mandir=/usr/share/man || return 1 -- cgit v1.2.3