diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-05-26 15:44:16 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-05-26 15:44:16 +0100 |
commit | 4c00fdafea969673dac8c7a17c4e25795c7f2da7 (patch) | |
tree | 106eee7929acf9ad77936ba838644be47b384a41 | |
parent | eca68e2287e42ad3c010b3579669927fa69f539c (diff) | |
download | midipix_build-4c00fdafea969673dac8c7a17c4e25795c7f2da7.tar.bz2 midipix_build-4c00fdafea969673dac8c7a17c4e25795c7f2da7.tar.xz |
subr/pkg_install_files.subr:pkgp_install_files_strip(): check for either of .debug_{frame,info} headers when checking whether to strip(1).
-rw-r--r-- | subr/pkg_install_files.subr | 2 |
1 files changed, 1 insertions, 1 deletions
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; |