]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-debuginfo.patch
- adjusted for updated pl.po patch
[packages/rpm.git] / rpm-debuginfo.patch
index 656536370ef2976414196e3dfd186a64e6e5753f..402a3ede20095b44eab75cf25f16fbf9c472c01b 100644 (file)
@@ -54,8 +54,8 @@ diff -ur rpm-4.4.6.org/scripts/find-debuginfo.sh rpm-4.4.6/scripts/find-debuginf
  strip_to_debug()
  {
 -  eu-strip --remove-comment -f "$1" "$2" || :
-+  eu-strip --remove-comment -f "$1" -o "${2}.tmp" "$2" || :
-+  rm -f "${2}.tmp"
++  objcopy --only-keep-debug --remove-section .comment "$2" "$1"
++  objcopy --add-gnu-debuglink="$1" "$2"
  }
  
  # Strip ELF binaries
This page took 0.052808 seconds and 4 git commands to generate.