nixpkgs/pkgs/build-support/writers
sternenseemann 3090ed3f40 writers: use platform's default strip
bintools points to the default bintools (e. g. cctools, binutils,
llvmPackages.bintools) for the next stage. So instead of using GNU
binutils' strip which may not support the current platform, we need to
use buildPackages.bintools-unwrapped.

Additionally we need to use `-S` over `--strip-unneeded` as the latter
is a GNU binutils-specific flag and not supported by cctools.

Also add the correct targetPrefix in order to support cross-compilation
correctly here at least.
2021-10-29 12:18:58 +02:00
..
default.nix writers: use platform's default strip 2021-10-29 12:18:58 +02:00
test.nix writers: drop writeC 2021-08-25 20:16:31 +02:00