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 Add clang multilib variants (x64_64-only, 64/32bit), basic multilib tests 2017-12-05 07:17:14 -06:00
nostdinc-main.c stdenv: make -nostdinc work as intended 2020-07-23 08:39:46 +01:00
sanitizers.c tests.cc-wrapper: verify building with sanitizers 2018-05-24 02:57:44 -04:00
stdio.h stdenv: make -nostdinc work as intended 2020-07-23 08:39:46 +01:00