commit: a90f7ff581cae6ab4d92a73ba734dc5377288616
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 02:01:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 02:01:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90f7ff5
toolchain.eclass: move GNAT comment
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index dfa46f094e45..7800681a6fb8 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -869,6 +869,9 @@ toolchain_src_configure() {
local ada_bootstrap
local ada_candidate
+ # GNAT can usually be built using the last major version and
+ # the current version, at least.
+ #
# We always prefer the version being built if possible
# as it has the greatest chance of success. Failing that,
# try GCC 10 and iterate upwards.
@@ -877,9 +880,6 @@ toolchain_src_configure() {
ebegin "Testing sys-devel/gcc:${ada_candidate} for Ada"
if has_version -b
"sys-devel/gcc:${ada_candidate}[ada(-)]" ; then
- # Make sure we set a path to the Ada bootstrap
if gcc[ada] is not already
- # installed. GNAT can usually be built using
the last major version and
- # the current version, at least.
ada_bootstrap=${ada_candidate}
eend 0