commit:     7d99be77433bf10fb0ce6fc99c7b40de700ed650
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 07:42:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 07:46:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d99be77

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 <AT> gentoo.org>

 eclass/toolchain.eclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 6584e57fb0fd..d72047e891d1 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
 

Reply via email to