mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
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:
parent
3db007461c
commit
7cda27b6ec
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user