summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-08-10 16:41:51 +0200
committerFabian Groffen <grobian@gentoo.org>2024-08-10 16:41:51 +0200
commit7f22b6f72d59eff006b910f3f52a13b7396b60fc (patch)
treef605b4e6164bf3e806eebeccd0474d64bf75b875 /eclass
parenteclass/toolchain: sync with gx86 (diff)
downloadprefix-7f22b6f72d59eff006b910f3f52a13b7396b60fc.tar.gz
prefix-7f22b6f72d59eff006b910f3f52a13b7396b60fc.tar.bz2
prefix-7f22b6f72d59eff006b910f3f52a13b7396b60fc.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 1 insertions, 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