diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-14 14:56:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-14 14:56:59 +0000 |
commit | 87fb5d9339c3dd9803dd81520594d832fe29e41e (patch) | |
tree | c7267aa39176fc65848e67e23db6aaee8c7551bb /main/valgrind/APKBUILD | |
parent | 5be37a17f8951c7b8f57a36e93a170abe91cc294 (diff) | |
download | aports-87fb5d9339c3dd9803dd81520594d832fe29e41e.tar.bz2 aports-87fb5d9339c3dd9803dd81520594d832fe29e41e.tar.xz |
main/valgrind: disable PIE and stack protector
fixes build on x86
Diffstat (limited to 'main/valgrind/APKBUILD')
-rw-r--r-- | main/valgrind/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD index efee9f6f3..31b5db402 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 |