Use gold as the linker on Linux

Saves ~7s in the linking phase
This commit is contained in:
regnat 2020-09-23 16:05:47 +02:00
parent 980edd1f3a
commit 21639b2d17

View file

@ -58,6 +58,7 @@
configureFlags = configureFlags =
lib.optionals stdenv.isLinux [ lib.optionals stdenv.isLinux [
"--with-sandbox-shell=${sh}/bin/busybox" "--with-sandbox-shell=${sh}/bin/busybox"
"LDFLAGS=-fuse-ld=gold"
]; ];
buildDeps = buildDeps =