commit:     7f22b6f72d59eff006b910f3f52a13b7396b60fc
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 14:41:51 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 14:41:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7f22b6f7

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

 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

Reply via email to