From 7d99be77433bf10fb0ce6fc99c7b40de700ed650 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 12 Dec 2024 07:42:00 +0000 Subject: [PATCH] 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 --- eclass/toolchain.eclass | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6584e57fb0fdb..d72047e891d1f 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -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