mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
Use gold as the linker on Linux
Saves ~7s in the linking phase
This commit is contained in:
parent
980edd1f3a
commit
21639b2d17
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@
|
|||
configureFlags =
|
||||
lib.optionals stdenv.isLinux [
|
||||
"--with-sandbox-shell=${sh}/bin/busybox"
|
||||
"LDFLAGS=-fuse-ld=gold"
|
||||
];
|
||||
|
||||
buildDeps =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue