summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-11-13 04:58:11 +0000
committerSam James <sam@gentoo.org>2025-11-13 04:58:47 +0000
commit69fdb7c5060c48cde58c5e770d767967d6db28b5 (patch)
tree841be896144106e1957639153925d4c2d533c268 /eclass
parent888f6ef711a37ba3df89451098be8d1115ef6d95 (diff)
downloadgentoo-69fdb7c5060c48cde58c5e770d767967d6db28b5.tar.gz
gentoo-69fdb7c5060c48cde58c5e770d767967d6db28b5.tar.bz2
gentoo-69fdb7c5060c48cde58c5e770d767967d6db28b5.zip
toolchain.eclass: add comment mentioning toolchain-legacy.eclass in overlay
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 52b38412e2b0..10e31a202c3a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -16,6 +16,7 @@ _TOOLCHAIN_ECLASS=1
RUST_OPTIONAL="1"
+# See tc_version_is_at_least below wrt old EAPIs vs old GCCs.
case ${EAPI} in
8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
@@ -263,6 +264,10 @@ fi
# Require minimum gcc version to simplify assumptions.
# Normally we would require gcc-6+ (based on sys-devel/gcc)
# but we still have sys-devel/gcc-apple-4.2.1_p5666.
+#
+# Older GCC support lives in toolchain-legacy.eclass in the toolchain
+# repository at https://gitweb.gentoo.org/proj/toolchain.git/. Patches
+# welcome!
tc_version_is_at_least 8 || die "${ECLASS}: ${GCC_RELEASE_VER} is too old."
PREFIX=${TOOLCHAIN_PREFIX:-${EPREFIX}/usr}