diff options
-rwxr-xr-x | bin/prepstrip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/prepstrip b/bin/prepstrip index 1ff4c0d28..d903a649e 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -32,7 +32,8 @@ save_elf_debug() { -l "${T}"/debug.sources "${x}" if [[ -s ${T}/debug.sources ]] ; then [[ -d ${D}${sources_dir} ]] || mkdir -p "${D}${sources_dir}" - cat "${T}"/debug.sources | (cd "${WORKDIR}"; LANG=C sort -z -u | \ + grep -zv '/<built-in>$' "${T}"/debug.sources | \ + (cd "${WORKDIR}"; LANG=C sort -z -u | \ rsync -rtL0 --files-from=- "${WORKDIR}/" "${D}${sources_dir}/" ) fi fi |