diff options
author | Sam James <sam@gentoo.org> | 2024-09-30 03:01:53 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-30 03:01:53 +0100 |
commit | a90f7ff581cae6ab4d92a73ba734dc5377288616 (patch) | |
tree | 636eac2f20fc6c7d5b0a012be5f4acdc2f357676 /eclass | |
parent | toolchain.eclass: add bug reference to ada-bootstrap comment (diff) | |
download | gentoo-a90f7ff581cae6ab4d92a73ba734dc5377288616.tar.gz gentoo-a90f7ff581cae6ab4d92a73ba734dc5377288616.tar.bz2 gentoo-a90f7ff581cae6ab4d92a73ba734dc5377288616.zip |
toolchain.eclass: move GNAT comment
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 6 |
1 files 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 |