4c75874560
ld.gold is “A new, faster, ELF only linker”. Thus we only should pass the configure flag --with-gold if our target platform will actually support gold (in which case binutil's configure script silently disables it). With this change, not only will configureFlags represent the actual configuration more closely, but we can also expose if the binutils derivation contains ld.gold via a passthru attr. Specifically this means that: nix-repl> pkgsCross.mingwW64.stdenv.cc.bintools.bintools.hasGold false The intended way to use this is to check `stdenv.cc.bintools.bintools or false` which returns accurate results regardless of the actual linker derivation. TODO: maybe also add hasGold to binutils wrapper as it also symlinks ld.gold in? |
||
---|---|---|
.. | ||
always-search-rpath.patch | ||
bfd-elf-Dont-read-non-existing-secondary-relocs.patch | ||
build-components-separately.patch | ||
CVE-2020-35448.patch | ||
default.nix | ||
deterministic.patch | ||
disambiguate-arm-targets.patch | ||
R_ARM_COPY.patch | ||
support-ios.patch |