aboutsummaryrefslogtreecommitdiffstats
path: root/main/valgrind/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/valgrind/APKBUILD')
-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