pacman/scripts/libmakepkg
Allan McRae bdf6aa3fb7 libmakepkg: fix detection of source file names for debug packages
The current gcc build from git master give different output from
readelf:

gcc-10.2.0
$ readelf "hello" --debug-dump | grep hello
<11> DW_AT_name : (indirect string, offset: 0xbfc): hello.cpp

gcc-git
$ readelf "hello" --debug-dump | grep hello
<12> DW_AT_name : (indirect line string, offset: 0x0): hello.cpp

This causes the awk statement extracting the file name to fail as it
relied on the information being in the 8th field. Instead, extract
the information from the final field.

Fixes FS#70168

Signed-off-by: Allan McRae <allan@archlinux.org>
2021-03-27 09:22:15 +10:00
..
buildenv Add link time optimization support to makepkg 2021-03-03 14:35:45 +10:00
executable Update copyright year 2021-03-01 12:22:20 +10:00
integrity Update copyright year 2021-03-01 12:22:20 +10:00
lint_config Update copyright year 2021-03-01 12:22:20 +10:00
lint_package Update copyright year 2021-03-01 12:22:20 +10:00
lint_pkgbuild Update copyright year 2021-03-01 12:22:20 +10:00
source Update copyright year 2021-03-01 12:22:20 +10:00
tidy libmakepkg: fix detection of source file names for debug packages 2021-03-27 09:22:15 +10:00
util Update copyright year 2021-03-01 12:22:20 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
executable.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
integrity.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
lint_config.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
lint_package.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
lint_pkgbuild.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
srcinfo.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
tidy.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
util.sh.in Update copyright year 2021-03-01 12:22:20 +10:00