summaryrefslogtreecommitdiff
path: root/eclass/toolchain.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 86302f3bcb4a..ad4703fc550e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -3159,7 +3159,7 @@ toolchain_death_notice() {
pushd "${WORKDIR}" >/dev/null
(echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > "${dir}"/gccinfo.log
[[ -e "${T}"/build.log ]] && cp "${T}"/build.log "${dir}"
- tar -carf "${WORKDIR}"/gcc-build-logs.tar.xz \
+ tar -arf "${WORKDIR}"/gcc-build-logs.tar.xz \
"${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log $(find -name "${dir#${WORKDIR}/}"/config.log)
rm "${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log
eerror
@@ -3168,6 +3168,7 @@ toolchain_death_notice() {
popd >/dev/null
fi
done
+ xz -9e "${WORKDIR}"/gcc-build-logs.tar.xz
}
fi