From 4c00fdafea969673dac8c7a17c4e25795c7f2da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 26 May 2020 15:44:16 +0100 Subject: subr/pkg_install_files.subr:pkgp_install_files_strip(): check for either of .debug_{frame,info} headers when checking whether to strip(1). --- subr/pkg_install_files.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr') diff --git a/subr/pkg_install_files.subr b/subr/pkg_install_files.subr index 55d79cba..19c1a15b 100644 --- a/subr/pkg_install_files.subr +++ b/subr/pkg_install_files.subr @@ -32,7 +32,7 @@ pkgp_install_files_strip() { return 0; fi; for _bin_path in $(find "${_tree_root}" -perm /a=x -type f); do - if objdump -sj .debug_info "${_bin_path}" >/dev/null 2>&1; then + if objdump -sj .debug_frame -j .debug_info "${_bin_path}" >/dev/null 2>&1; then rtl_log_msg info "Stripping %s..." "${_bin_path}"; if ! "${PKG_TARGET}-strip" "${_bin_path}"; then return 1; -- cgit v1.2.3