Skip to content

Commit

Permalink
eclass/toolchain: drop T variable hack from 2009
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
grobian committed Aug 10, 2024
1 parent 67545fd commit 7f22b6f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions eclass/toolchain.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f22b6f

Please sign in to comment.