useGoldLinker
pkgs.useGoldLinker
Docs pulled from | This Revision | 10 minutes ago
Modify a stdenv so that it uses the Gold linker.
Noogle detected
Implementation
The following is the current implementation of this function.
useGoldLinker =
stdenv:
stdenv.override (old: {
mkDerivationFromStdenv = extendMkDerivationArgs old (args: {
NIX_CFLAGS_LINK = toString (args.NIX_CFLAGS_LINK or "") + " -fuse-ld=gold";
});
});