binutils: use unknown-elf

This commit is contained in:
Sebastien Bourdeauducq 2019-06-06 00:06:29 +08:00
parent aa1c3726f3
commit cf86c11dce

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "028cklfqaab24glva1ks2aqa1zxa6w6xmc8q34zs1sb7h22dxspg";
};
configureFlags =
[ "--enable-shared" "--enable-deterministic-archives" "--target=${platform}-linux"];
[ "--enable-shared" "--enable-deterministic-archives" "--target=${platform}-unknown-elf"];
outputs = [ "out" "info" "man" ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ zlib ];