summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepstrip
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/prepstrip')
-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}"