nixpkgs/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 bintools-wrapper: skip dynamic linker for static binaries 2020-12-14 15:42:54 +00:00
foo.c
ldflags-main.c
multilib.nix
nostdinc-main.c stdenv: make -nostdinc work as intended 2020-07-23 08:39:46 +01:00
sanitizers.c
stdio.h stdenv: make -nostdinc work as intended 2020-07-23 08:39:46 +01:00