nixpkgs/pkgs/os-specific
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
..
bsd
darwin Merge pull request #179971 from jiegec/network-cmds-aarch64-darwin-staging 2022-08-02 12:36:20 +10:00
linux setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
solo5
windows windows.mingw_w64: enable stripping 2022-07-28 21:55:15 +01:00