toolchain.eclass: stop deleting install-tools

Since da19e742f2d45221bec7a70c23903278c28e2664, we deleted anything in
`install-tools`, but this includes `mkheaders` which is needed to refresh
fixincludes.

See https://gcc.gnu.org/onlinedocs/gcc/Fixed-Headers.html.

Bug: https://bugs.gentoo.org/933282
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-12-12 07:42:00 +00:00
parent 6d18ca00e9
commit 7d99be7743

View File

@@ -2514,8 +2514,6 @@ toolchain_src_install() {
pushd "${WORKDIR}"/build-jit > /dev/null || die
S="${WORKDIR}"/build-jit emake DESTDIR="${D}" -j1 install
# Punt some tools which are really only useful while building gcc
find "${ED}" -name install-tools -prune -type d -exec rm -rf "{}" \; || die
# This one comes with binutils
find "${ED}" -name libiberty.a -delete || die
@@ -2538,8 +2536,6 @@ toolchain_src_install() {
# - https://gcc.gnu.org/PR109898
S="${WORKDIR}"/build emake DESTDIR="${D}" -j1 install
# Punt some tools which are really only useful while building gcc
find "${ED}" -name install-tools -prune -type d -exec rm -rf "{}" \; || die
# This one comes with binutils
find "${ED}" -name libiberty.a -delete || die