Skip to content

Commit 7f22b6f

Browse files
committed
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 <[email protected]>
1 parent 67545fd commit 7f22b6f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

eclass/toolchain.eclass

+1-4
Original file line numberDiff line numberDiff line change
@@ -1921,10 +1921,7 @@ gcc_do_make() {
19211921
einfo "Compiling ${PN} (${GCC_MAKE_TARGET})..."
19221922
pushd "${WORKDIR}"/build >/dev/null || die
19231923

1924-
# PREFIX_LOCAL
1925-
# we "undef" T because the GCC makefiles use this variable, and if it's set
1926-
# in the environment (like Portage does) the build fails, bug #286494
1927-
emake T= "${emakeargs[@]}" ${GCC_MAKE_TARGET}
1924+
emake "${emakeargs[@]}" ${GCC_MAKE_TARGET}
19281925

19291926
if is_ada; then
19301927
# Without these links, it is not getting the good compiler

0 commit comments

Comments
 (0)