From 9b247d631260ac9ef4dca0116a2638e8c9abd980 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Jan 2014 12:25:13 +0100 Subject: [PATCH] valgrind: works on armv7. --- srcpkgs/valgrind/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/valgrind/template b/srcpkgs/valgrind/template index a67197af9e..22cbe078da 100644 --- a/srcpkgs/valgrind/template +++ b/srcpkgs/valgrind/template @@ -2,7 +2,7 @@ pkgname=valgrind version=3.9.0 revision=1 -only_for_archs="i686 x86_64" +only_for_archs="i686 x86_64 armv7l" build_style=gnu-configure configure_args="--enable-tls --with-mpicc=/dev/null" hostmakedepends="perl pkg-config" @@ -15,6 +15,10 @@ license="GPL-2" distfiles="http://www.valgrind.org/downloads/${pkgname}-${version}.tar.bz2" checksum=e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0 +if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then + configure_args+=" ac_cv_host=armv7l-unknown-linux-gnueabihf" +fi + valgrind-devel_package() { depends="valgrind>=${version}" short_desc+=" - development files"