1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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" ]