pacman/scripts/libmakepkg/tidy
Jan Alexander Steffens (heftig) 9154600490 strip: Treat bare object files like static libs, not shared libs
Debug symbols should only be split from finally linked ELFs, not bare
object files. We're already excluding static libraries from splitting
for a similar reason.

The `.gnu_debuglink` sections are also mishandled by LLVM's LLD, which
copies them to its output. For example, this affects Arch Linux's
`/usr/lib/Scrt1.o`.

While we're here (and it changes the code less), also strip GNU LTO data
from bare objects, again for the same reason we're removing it from
static libraries, and apply static library stripping instead of shared
library stripping.

See: https://bugs.gentoo.org/787623
2024-11-27 19:50:57 +10:00
..
docs.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
emptydirs.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
libtool.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
purge.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
staticlibs.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
strip.sh.in strip: Treat bare object files like static libs, not shared libs 2024-11-27 19:50:57 +10:00
zipman.sh.in Update copyright years 2024-02-24 18:40:44 +10:00