binutils: Use dynamic instead of shared libraries

This reduces the size of binutils from 29 to 17 MiB.
This commit is contained in:
Eelco Dolstra 2014-01-07 15:01:59 +01:00
parent 4b31f920b6
commit 1e986d8de3

View File

@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-static-libgcc";
configureFlags =
[ "--enable-deterministic-archives" ]
[ "--enable-shared" "--enable-deterministic-archives" ]
++ optional (stdenv.system == "mips64el-linux") "--enable-fix-loongson2f-nop"
++ optional (cross != null) "--target=${cross.config}"
++ optionals gold [ "--enable-gold" "--enable-plugins" ]