diff options
author | regnat <rg@regnat.ovh> | 2020-09-23 16:05:47 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2020-09-23 16:10:31 +0200 |
commit | 21639b2d179e84805d5ab0949c7bdd74c9e2b7ae (patch) | |
tree | aa7e1b87abbe59da42e101dbc29c71780f3df58f /flake.nix | |
parent | 980edd1f3a31eefe297d073f6a7cff099f21eb4a (diff) |
Use gold as the linker on Linux
Saves ~7s in the linking phase
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ configureFlags = lib.optionals stdenv.isLinux [ "--with-sandbox-shell=${sh}/bin/busybox" + "LDFLAGS=-fuse-ld=gold" ]; buildDeps = |