From 7f22b6f72d59eff006b910f3f52a13b7396b60fc Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 10 Aug 2024 16:41:51 +0200 Subject: [PATCH] eclass/toolchain: drop T variable hack from 2009 Drop hack to avoid T being defined due to interference with libgcc's makefiles. It seems it still references @T, but it seems non-Prefix should've picked up on that too, so I'm willing to try without this fix. Bug: https://bugs.gentoo.org/286494 Signed-off-by: Fabian Groffen --- eclass/toolchain.eclass | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 0f4ef79b15..5d031280e0 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1921,10 +1921,7 @@ gcc_do_make() { einfo "Compiling ${PN} (${GCC_MAKE_TARGET})..." pushd "${WORKDIR}"/build >/dev/null || die - # PREFIX_LOCAL - # we "undef" T because the GCC makefiles use this variable, and if it's set - # in the environment (like Portage does) the build fails, bug #286494 - emake T= "${emakeargs[@]}" ${GCC_MAKE_TARGET} + emake "${emakeargs[@]}" ${GCC_MAKE_TARGET} if is_ada; then # Without these links, it is not getting the good compiler