nixpkgs-suyu/pkgs/test/cc-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
..
cc-main.c
cflags-main.c
core-foundation-main.c
cxx-main.cc
default.nix
foo.c
ldflags-main.c
multilib.nix
nostdinc-main.c
sanitizers.c
stdio.h