nixpkgs-suyu/pkgs/build-support/setup-hooks
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
..
wrap-gapps-hook
audit-blas.sh
audit-tmpdir.sh
auto-patchelf.sh autoPatchelfHook: fix detection under crossSystem 2021-09-12 15:07:15 -07:00
autoreconf.sh stdenv: conservative undefined variables 2021-08-03 12:43:34 +09:00
breakpoint-hook.sh
compress-man-pages.sh setup-hooks: compress-man-pages.sh: Do not attempt to compress .xz files 2021-08-19 17:13:05 -04:00
copy-desktop-items.sh copyDesktopItems: add new setup-hook 2020-11-29 04:03:38 +01:00
die.sh
enable-coverage-instrumentation.sh
find-xml-catalogs.sh
fix-darwin-dylib-names.sh fixDarwinDylibNames: set name of install_name_tool 2021-05-17 00:27:01 +09:00
gog-unpack.sh
install-shell-files.sh
keep-build-tree.sh
ld-is-cc-hook.sh
make-coverage-analysis-report.sh
make-symlinks-relative.sh
make-wrapper.sh
move-docs.sh Revert "Merge remote-tracking branch 'origin/python-unstable' into staging-next" 2021-09-05 15:02:25 +02:00
move-lib64.sh
move-sbin.sh
move-systemd-user-units.sh
multiple-outputs.sh
patch-shebangs.sh stdenv/patchShebangs: fix off by one reading old interpreter 2021-02-09 13:05:38 +09:00
prune-libtool-files.sh
reproducible-builds.sh stdenv: conservative undefined variables 2021-08-03 12:43:34 +09:00
role.bash
separate-debug-info.sh setup-hooks: separate-debug-info.sh: Remove extraneous local variable originally used in ec5b66eb 2021-08-05 17:52:27 +02:00
set-java-classpath.sh
set-source-date-epoch-to-latest.sh
setup-debug-info-dirs.sh
shorten-perl-shebang.sh
strip.sh stdenv: move --enable-deterministic-archives flag into GNU wrapper 2021-09-18 15:11:17 +02:00
update-autotools-gnu-config-scripts.sh
use-old-cxx-abi.sh
validate-pkg-config.sh
win-dll-link.sh