nixpkgs/pkgs/stdenv/linux
sternenseemann 11fe2fc3cf stdenv: move --enable-deterministic-archives flag into GNU wrapper
`--enable-deterministic-archives` is a GNU specific strip flag and
causes other strip implementations (for example LLVM's, see #138013)
to fail. Since strip failures are ignored, this means that stripping
doesn't work at all in certain situation (causing unnecessary
dependencies etc.).

To fix this, no longer pass `--enable-deterministic-archives`
unconditionally, but instead add it in a GNU binutils specific strip
wrapper only.

`commonStripFlags` was only used for this flag, so we can remove
it altogether.

Future work could be to make a generic strip wrapper, with support for
nix-support/strip-flags-{before,after} and NIX_STRIP_FLAGS_{BEFORE,AFTER}.
This possibly overkill and unnecessary though -- also with the
additional challenge of incorporating the darwin strip wrapper somehow.
2021-09-18 15:11:17 +02:00
..
bootstrap-files
bootstrap-tools Make the bootsrap respect the contentAddressedByDefault setting 2021-04-28 10:25:49 +02:00
bootstrap-tools-musl Make the bootsrap respect the contentAddressedByDefault setting 2021-04-28 10:25:49 +02:00
default.nix stdenv: move --enable-deterministic-archives flag into GNU wrapper 2021-09-18 15:11:17 +02:00
make-bootstrap-tools-cross.nix bootstrap-tools-cross: add powerpc64-linux 2021-01-30 12:34:30 -08:00
make-bootstrap-tools.nix stdenv/make-bootstrap-tools: nuke yet another header 2021-07-16 16:15:32 +02:00