mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03: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";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
if stdenv.system == "x86_64-linux" then ["--enable-only64bit"] else [];
|
||||
|
||||
meta = {
|
||||
description = "Award-winning suite of tools for debugging and profiling Linux programs";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user