binutils: Don't use multiple-outputs when cross compiling
This commit is contained in:
parent
77580d42ad
commit
ad1eb36dac
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
./pt-pax-flags-20121023.patch
|
./pt-pax-flags-20121023.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "dev" "out" "info" ];
|
outputs = (optional (cross == null) "dev") ++ [ "out" "info" ];
|
||||||
|
|
||||||
nativeBuildInputs = optional gold bison;
|
nativeBuildInputs = optional gold bison;
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postFixup = "ln -s $out/bin $dev/bin"; # tools needed for development
|
postFixup = optionalString (cross == null) "ln -s $out/bin $dev/bin"; # tools needed for development
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tools for manipulating binaries (linker, assembler, etc.)";
|
description = "Tools for manipulating binaries (linker, assembler, etc.)";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user