binutils: Don't use multiple-outputs when cross compiling

This commit is contained in:
Tuomas Tynkkynen 2015-08-25 18:52:41 +03:00 committed by Vladimír Čunát
parent 77580d42ad
commit ad1eb36dac

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
./pt-pax-flags-20121023.patch
];
outputs = [ "dev" "out" "info" ];
outputs = (optional (cross == null) "dev") ++ [ "out" "info" ];
nativeBuildInputs = optional gold bison;
buildInputs = [ zlib ];
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
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 = {
description = "Tools for manipulating binaries (linker, assembler, etc.)";