summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-08-03 13:25:59 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-08-18 01:21:44 +0200
commit4c75874560d114032e3d3ee0e6ffe9dd880a3859 (patch)
tree5376356c92e6516db2f59bc91a76b32aaa6236b1 /pkgs/development/python-modules/rangehttpserver
parentb6d8e46a571d94c408bd67d08be90facff8e0852 (diff)
binutils-unwrapped: expose if built with ld.gold
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?
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions