summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2024-04-14 08:53:41 -0400
committerRandy Eckenrode <randy@largeandhighquality.com>2024-07-13 10:59:41 -0400
commit1cb1853573de833ff506579c8ece3d1f896e15d8 (patch)
tree3bc81e1a9dceb3eccb2c3b32c378d4a3f271aeaa /pkgs/development/python-modules/rangehttpserver
parent5a56b5dfb19b1b2db9360a3bc1dd98c7cc42b331 (diff)
ld-wrapper: use a temporary file for reponse file
This changes ld-wrapper to use a temporary file for the response file passed to ld instead of using process substitution. ld64 does not handle long command-lines when reading from the response file, which defeats the point of using a response file to handle long command-lines. cctools-port was patched to work around this, but nixpkgs is now using Apple’s source release directly instead of the port. Since it’s preferable not to patch Apple’s release heavily (to reduce the difficulty of updating to new versions and to match upstream’s behavior), use the approach that was adopted in cc-wrapper to work around issues with response files in newer versions of clang. Related PRs (cctools-port): - https://github.com/NixOS/nixpkgs/pull/213831 - https://github.com/tpoechtrager/cctools-port/pull/132 Related PRs (cc-wrapper): - https://github.com/NixOS/nixpkgs/pull/245282 - https://github.com/NixOS/nixpkgs/pull/258608
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions