binutils: Use dynamic instead of shared libraries
This reduces the size of binutils from 29 to 17 MiB.
This commit is contained in:
parent
4b31f920b6
commit
1e986d8de3
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||||||
NIX_CFLAGS_COMPILE = "-static-libgcc";
|
NIX_CFLAGS_COMPILE = "-static-libgcc";
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--enable-deterministic-archives" ]
|
[ "--enable-shared" "--enable-deterministic-archives" ]
|
||||||
++ optional (stdenv.system == "mips64el-linux") "--enable-fix-loongson2f-nop"
|
++ optional (stdenv.system == "mips64el-linux") "--enable-fix-loongson2f-nop"
|
||||||
++ optional (cross != null) "--target=${cross.config}"
|
++ optional (cross != null) "--target=${cross.config}"
|
||||||
++ optionals gold [ "--enable-gold" "--enable-plugins" ]
|
++ optionals gold [ "--enable-gold" "--enable-plugins" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user