binutils: Fix build != host == target
This commit is contained in:
parent
2e337fe969
commit
af8d1a4ace
@ -50,7 +50,8 @@ stdenv.mkDerivation rec {
|
||||
++ [ "info" ]
|
||||
++ optional (targetPlatform == hostPlatform) "dev";
|
||||
|
||||
nativeBuildInputs = [ bison ];
|
||||
nativeBuildInputs = [ bison ]
|
||||
++ optional (hostPlatform != buildPlatform) buildPackages.stdenv.cc;
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
inherit noSysDirs;
|
||||
|
Loading…
Reference in New Issue
Block a user