036eef1d1e
useLdGold previously just checked for useLLVM which (currently) implies `linker == "lld"`. However more accurate is to check the `linker` of the `targetPlatform` as it actually tells us which bintools package we can expect. `linker == "bfd"` implies that we are using the `binutils` package, so gold is available, so we can use it unless musl is the libc. `linker == "gold"` implies that gold is the default linker already and we should absolutely use it. |
||
---|---|---|
.. | ||
8.6.5-binary.nix | ||
8.8.4.nix | ||
8.10.2-binary.nix | ||
8.10.4.nix | ||
9.0.1.nix | ||
backport-dylib-command-size-limit.patch | ||
gcc-clang-wrapper.sh | ||
head.nix | ||
issue-18549.patch | ||
respect-ar-path.patch |