mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/valgrind to 3.12.0-2
This commit is contained in:
parent
8ed662dfdc
commit
79a6d04eee
1 changed files with 6 additions and 4 deletions
|
@ -10,21 +10,23 @@ buildarch=12
|
|||
|
||||
pkgname=valgrind
|
||||
pkgver=3.12.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='A tool to help find memory-management problems in programs'
|
||||
arch=(i686 x86_64)
|
||||
license=(GPL)
|
||||
url='http://valgrind.org/'
|
||||
depends=('glibc>=2.24' 'glibc<2.25' 'perl')
|
||||
depends=('glibc=2.25' 'perl')
|
||||
makedepends=(gdb openmpi)
|
||||
optdepends=('openmpi: MPI support')
|
||||
# valgrind does not like stack protector flags
|
||||
options=(!emptydirs)
|
||||
source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2)
|
||||
sha1sums=('7a6878bf998c60d1e377a4f22ebece8d9305bda4')
|
||||
|
||||
build() {
|
||||
CFLAGS=${CFLAGS/-fstack-protector/} # remove stack protector flag
|
||||
# valgrind does not like stack protector flags
|
||||
CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
|
||||
CFLAGS=${CFLAGS/-fstack-protector-strong/}
|
||||
CXXFLAGS=${CXXFLAGS/-fstack-protector-strong/}
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc
|
||||
|
|
Loading…
Reference in a new issue