summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-11 13:28:45 -0400
committerMike Frysinger <vapier@gentoo.org>2011-10-11 13:28:59 -0400
commit86e3ed5b8d1efdd439415cb3dec2905e5de058dc (patch)
tree6b2d16e6c512e5d05b4dcf9fc5251c889b9f5e6b
parent79589ca29ecdbfafbc50b0899a51ce3f4eba1857 (diff)
downloadportage-86e3ed5b8d1efdd439415cb3dec2905e5de058dc.tar.gz
portage-86e3ed5b8d1efdd439415cb3dec2905e5de058dc.tar.bz2
portage-86e3ed5b8d1efdd439415cb3dec2905e5de058dc.zip
prepstrip: make sure eu-strip embeds right filename
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xbin/ebuild-helpers/prepstrip5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip
index 7f158c29d..8c2ca4839 100755
--- a/bin/ebuild-helpers/prepstrip
+++ b/bin/ebuild-helpers/prepstrip
@@ -146,7 +146,10 @@ process_elf() {
if ${strip_this} ; then
# see if we can split & strip at the same time
if [[ -n ${SPLIT_STRIP_FLAGS} ]] ; then
- ${STRIP} ${strip_flags} -f "${T}"/prepstrip.split.debug "${x}"
+ ${STRIP} ${strip_flags} \
+ -f "${T}"/prepstrip.split.debug \
+ -F "${x##*/}.debug" \
+ "${x}"
save_elf_debug "${x}"
else
save_elf_debug "${x}"