aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-14 14:56:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-14 14:56:59 +0000
commit87fb5d9339c3dd9803dd81520594d832fe29e41e (patch)
treec7267aa39176fc65848e67e23db6aaee8c7551bb /main
parent5be37a17f8951c7b8f57a36e93a170abe91cc294 (diff)
downloadaports-87fb5d9339c3dd9803dd81520594d832fe29e41e.tar.bz2
aports-87fb5d9339c3dd9803dd81520594d832fe29e41e.tar.xz
main/valgrind: disable PIE and stack protector
fixes build on x86
Diffstat (limited to 'main')
-rw-r--r--main/valgrind/APKBUILD3
1 files changed, 2 insertions, 1 deletions
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 <ncopa@alpinelinux.org>
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