]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-debuginfo.patch
add support for aarch64
[packages/rpm.git] / rpm-debuginfo.patch
CommitLineData
ebe974a8
AF
1--- rpm-5.3.1/scripts/find-debuginfo.sh.wiget 2009-09-10 03:52:13.000000000 +0200
2+++ rpm-5.3.1/scripts/find-debuginfo.sh 2010-05-30 16:53:33.275994510 +0200
6ecfe7c2
JR
3@@ -254,7 +254,10 @@ strip_to_debug()
4 $strip_glibs && case "$(file -bi "$2")" in
5 application/x-sharedlib*) g=-g ;;
9d68bb95 6 esac
6ecfe7c2 7- eu-strip --remove-comment $r $g ${keep_remove_args} -f "$1" "$2" || exit
ce608720
PS
8+ local t=$(mktemp "/tmp/rpm.stripped.XXXXXX")
9+ objcopy --compress-debug-sections "$2" || exit
6ecfe7c2 10+ eu-strip --remove-comment $r -f "$1" "$2" -o "$t" || exit
ce608720 11+ rm -f "$t"
6ecfe7c2 12 chmod 444 "$1" || exit
6fc678f5
JB
13 }
14
This page took 0.052007 seconds and 4 git commands to generate.