mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
194ddeefd5
LLD supports Windows-style linker arguments, but these previously triggered purity check false positives, because it saw that they started with a '/' and assumed they were paths. This tweaks the path detection to allow through certain values that could be paths, but are much more likely to be LINK.EXE-style flags. The risk of false negatives here is low — the only things we'd now fail to catch would be attempts to link with libraries in the root directory, which doesn't happen in practice. We also teach the wrapper how to apply its purity checks to library paths specified with the /LIBPATH: option. Tested that paths we expect to be rejected (like /lib/libfoo.so) still are. |
||
---|---|---|
.. | ||
add-darwin-ldflags-before.sh | ||
add-flags.sh | ||
add-hardening.sh | ||
darwin-install_name_tool-wrapper.sh | ||
darwin-strip-wrapper.sh | ||
default.nix | ||
gnu-binutils-strip-wrapper.sh | ||
ld-solaris-wrapper.sh | ||
ld-wrapper.sh | ||
macos-sierra-reexport-hack.bash | ||
setup-hook.sh |