Fix for building valgrind on x86_64-linux.

If building on x86_64-linux, pass --enable-only64bit to the configure
script of valgrind. This disables the 32-bit build, which uses gcc
-m32, which is not supported by the standard gcc for x86_64-linux.


svn path=/nixpkgs/trunk/; revision=8073
This commit is contained in:
Martin Bravenboer 2007-02-27 10:40:15 +00:00
parent 3db007461c
commit 7cda27b6ec

View File

@ -7,6 +7,9 @@ stdenv.mkDerivation {
sha256 = "0hf48y13mm1c1zg59bvkbr0lzcwng5mb33lgiv3d0gzl4w2r5jhv"; sha256 = "0hf48y13mm1c1zg59bvkbr0lzcwng5mb33lgiv3d0gzl4w2r5jhv";
}; };
configureFlags =
if stdenv.system == "x86_64-linux" then ["--enable-only64bit"] else [];
meta = { meta = {
description = "Award-winning suite of tools for debugging and profiling Linux programs"; description = "Award-winning suite of tools for debugging and profiling Linux programs";
}; };