mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
toolchain.eclass: add comment mentioning toolchain-legacy.eclass in overlay
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
888f6ef711
commit
69fdb7c506
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user