nixpkgs/pkgs/build-support/bintools-wrapper
Jörg Thalheim ccfd26ef14 bintools-wrapper: skip dynamic linker for static binaries
Currently we set dynamic-linker unconditionally. This breaks
however some static binaries i.e. rust binaries linked against musl.
There is no reason we should set an elf interpreter for static binaries
hence this is skipped if `-static` or `-static-pie` is either passed to
our cc or ld wrapper.
2020-12-14 15:42:54 +00:00
..
add-flags.sh bintools-wrapper: skip dynamic linker for static binaries 2020-12-14 15:42:54 +00:00
add-hardening.sh *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
default.nix bintools-wrapper: skip dynamic linker for static binaries 2020-12-14 15:42:54 +00:00
ld-solaris-wrapper.sh bintools-wrapper: Init 2017-12-13 16:08:18 -05:00
ld-wrapper.sh bintools-wrapper: skip dynamic linker for static binaries 2020-12-14 15:42:54 +00:00
macos-sierra-reexport-hack.bash cc-wrapper: Utilize patched cctools ld for more robust macOS Sierra hack 2018-04-13 13:17:03 -04:00
setup-hook.sh *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00