nixpkgs/pkgs/build-support/setup-hooks
Sergei Trofimovich b3b672d5a1 setup-hooks/separate-debug-info.sh: don't inhibit strip hook
Before the change separate-debug-info.sh did the stripping itself.
This scheme has a few problems:
1. Stripping happens only on ELF files. *.a and *.o files are skipped.
   Derivations have to do it manually. Usually incorrectly
   as they don't run $RANLIB (true for `glibc` and `musl`).
2. Stripping happens on all paths. Ideally only `stripDebugList` paths
   should be considered.
3. Host strip is called on Target files.

This change offloads stripping logic to strip hook. This strips more
files for `glibc` and `musl`. Now we can remove most $STRIP calls
from individual derivations.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-08-07 12:49:37 +01:00
..
make-binary-wrapper Merge pull request #172769 from ncfavier/wrappers-append-args 2022-06-12 11:46:03 +01:00
postgresql-test-hook postgresqlTestHook: init 2022-04-16 17:17:46 +02:00
wrap-gapps-hook wrapGAppsHook: rename argument to makeWrapper 2022-05-10 22:07:56 +02:00
audit-blas.sh
audit-tmpdir.sh
auto-patchelf.py
auto-patchelf.sh autoPatchelfHook: fix precise dependency ignorance 2022-04-15 10:35:11 +08:00
autoreconf.sh
breakpoint-hook.sh
canonicalize-jars.sh
compress-man-pages.sh
copy-desktop-items.sh
copy-pkgconfig-items.sh makePkgconfigItem: init new function to generate pc files 2022-07-20 06:22:39 +03:00
desktop-to-darwin-bundle.sh Merge pull request #165111 from toonn/darwin-bundle-outputBin 2022-04-22 12:04:09 +01:00
die.sh
enable-coverage-instrumentation.sh
find-xml-catalogs.sh
fix-darwin-dylib-names.sh
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 makeWrapper,makeBinaryWrapper: implement --append-flags 2022-05-30 23:07:58 +02:00
move-docs.sh
move-lib64.sh
move-sbin.sh
move-systemd-user-units.sh
multiple-outputs.sh
patch-shebangs.sh
prune-libtool-files.sh
reproducible-builds.sh
role.bash
separate-debug-info.sh setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
set-java-classpath.sh
set-source-date-epoch-to-latest.sh
setup-debug-info-dirs.sh
shorten-perl-shebang.sh
strip.sh setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
update-autotools-gnu-config-scripts.sh
use-old-cxx-abi.sh
validate-pkg-config.sh
win-dll-link.sh