forked from mirrors/nixpkgs
rr: Only build native architecture.
rr wants to build itself with 32+64bit support on 64bit systems, but this fails in recent NixOS versions as it can't find libstdc++.so.6 at runtime. This patch disables 32bit builds on 64bit. To debug 32bit binaries, pkgsi686Linux.rr can be used.
This commit is contained in:
parent
0431fe6194
commit
29644950d4
|
@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
buildInputs = [ cmake libpfm zlib python pkgconfig pythonPackages.pexpect which procps gdb ];
|
||||
cmakeFlags = "-DCMAKE_C_FLAGS_RELEASE:STRING= -DCMAKE_CXX_FLAGS_RELEASE:STRING=";
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_C_FLAGS_RELEASE:STRING="
|
||||
"-DCMAKE_CXX_FLAGS_RELEASE:STRING="
|
||||
"-Ddisable32bit=ON"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -6360,9 +6360,7 @@ in
|
|||
|
||||
rolespec = callPackage ../development/tools/misc/rolespec { };
|
||||
|
||||
rr = callPackage ../development/tools/analysis/rr {
|
||||
stdenv = stdenv_32bit;
|
||||
};
|
||||
rr = callPackage ../development/tools/analysis/rr { };
|
||||
|
||||
saleae-logic = callPackage ../development/tools/misc/saleae-logic { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue