Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 45150 | Differences between
and this patch

Collapse All | Expand All

(-)prepstrip.orig (+8 lines)
Lines 22-27 Link Here
22
	mkdir -p $(dirname ${y})
22
	mkdir -p $(dirname ${y})
23
	${CHOST}-objcopy --only-keep-debug ${x} ${y}.debug
23
	${CHOST}-objcopy --only-keep-debug ${x} ${y}.debug
24
	${CHOST}-objcopy --add-gnu-debuglink=${y}.debug ${x}
24
	${CHOST}-objcopy --add-gnu-debuglink=${y}.debug ${x}
25
26
	if [ -x /usr/bin/debugedit ] ; then
27
		debugedit -b ${WORKDIR} -d /usr/src/debug/${P} -l ${T}/debug.sources "$x"
28
		if [ -s ${T}/debug.sources ]; then 
29
			[ -d ${D}/usr/src/debug/${P} ] || mkdir -p ${D}/usr/src/debug/${P}
30
			cat ${T}/debug.sources | (cd ${WORKDIR}; LANG=C sort -z -u | xargs -0 -- cp --parents -p --target-directory="${D}usr/src/debug/${P}" )
31
		fi
32
	fi
25
}
33
}
26
34
27
for x in $(scanelf -yRBF%F $@) $(for y in "$@"; do find $y -type f -name '*.a' -print0 ; done); do
35
for x in $(scanelf -yRBF%F $@) $(for y in "$@"; do find $y -type f -name '*.a' -print0 ; done); do

Return to bug 45150