pacman/scripts/libmakepkg/tidy
Jan Alexander Steffens (heftig) e0162a6868 strip: Overwrite debuglink when it's already present
When objcopy encounters an already-present section, adding the new
debuglink will fail with a warning. Remove any existing `.gnu_debuglink`
section to work around this problem.

Arch Linux's `rust` package is affected by this. Apparently when LLVM's
LLD links in `/usr/lib/Scrt1.o` it will also copy the `.gnu_debuglink`
section.

See: https://bugs.gentoo.org/787623
2024-11-27 19:50:46 +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: Overwrite debuglink when it's already present 2024-11-27 19:50:46 +10:00
zipman.sh.in Update copyright years 2024-02-24 18:40:44 +10:00