1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

binutils: Enable sysroot support

This commit is contained in:
Eelco Dolstra 2014-08-17 17:25:12 +02:00
parent 315e58762d
commit 773595540b

View file

@ -59,6 +59,7 @@ stdenv.mkDerivation rec {
configureFlags =
[ "--enable-shared" "--enable-deterministic-archives" ]
++ optional noSysDirs "--with-sysroot=/var/empty"
++ optional (stdenv.system == "mips64el-linux") "--enable-fix-loongson2f-nop"
++ optional (cross != null) "--target=${cross.config}"
++ optionals gold [ "--enable-gold" "--enable-plugins" ]