pacman/scripts/libmakepkg
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
..
autodep Fix typos 2024-05-20 02:30:50 -03:00
buildenv libmakepkg: add fortran buildenv to meson sources array 2024-05-04 10:10:23 +00:00
executable debugedit: only check for debugedit if we build a package 2024-03-14 23:07:08 +01:00
integrity Update copyright years 2024-02-24 18:40:44 +10:00
lint_config Update copyright years 2024-02-24 18:40:44 +10:00
lint_package Update copyright years 2024-02-24 18:40:44 +10:00
lint_pkgbuild Update copyright years 2024-02-24 18:40:44 +10:00
reproducible Update copyright years 2024-02-24 18:40:44 +10:00
source Fix typo in git source handling 2024-07-16 18:51:03 +10:00
tidy strip: Treat bare object files like static libs, not shared libs 2024-11-27 19:50:57 +10:00
util libmakepkg: make configured BUILDENV readonly 2024-05-31 16:15:54 +00:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
autodep.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
buildenv.sh.in libmakepkg: do not unset CHOST with !buildflags 2024-04-20 11:37:54 +10:00
executable.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
integrity.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
lint_config.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
lint_package.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
lint_pkgbuild.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
meson.build libmakepkg: automatically add library sonames to provides 2021-12-29 15:20:05 +10:00
reproducible.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
source.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
srcinfo.sh.in libmakepkg/srcinfo.sh: fix missing extglob in srcinfo_write_attr 2024-02-28 21:30:22 +01:00
tidy.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
util.sh.in Update copyright years 2024-02-24 18:40:44 +10:00