4c00fd
subr/pkg_install_files.subr:pkgp_install_files_strip(): check for either of .debug_{frame,info} headers when checking whether to strip(1).
@@ -32,7 +32,7 @@ pkgp_install_files_strip() {
|
|
32
32
|
return 0;
|
33
33
|
fi;
|
34
34
|
for _bin_path in $(find "${_tree_root}" -perm /a=x -type f); do
|
35
|
-
if objdump -sj .debug_info "${_bin_path}" >/dev/null 2>&1; then
|
35
|
+
if objdump -sj .debug_frame -j .debug_info "${_bin_path}" >/dev/null 2>&1; then
|
36
36
|
rtl_log_msg info "Stripping %s..." "${_bin_path}";
|
37
37
|
if ! "${PKG_TARGET}-strip" "${_bin_path}"; then
|
38
38
|
return 1;
|