diff options
author | 2024-09-29 12:27:39 +0100 | |
---|---|---|
committer | 2024-09-29 12:27:39 +0100 | |
commit | 6c118fbbefc7ab5340c98179908fab2e6fca6b8a (patch) | |
tree | b69be8bb0f350323e401637015e85808df287191 /eclass/toolchain.eclass | |
parent | media-sound/sidplayfp: Stabilize 2.9.0 amd64, #940476 (diff) | |
download | gentoo-6c118fbbefc7ab5340c98179908fab2e6fca6b8a.tar.gz gentoo-6c118fbbefc7ab5340c98179908fab2e6fca6b8a.tar.bz2 gentoo-6c118fbbefc7ab5340c98179908fab2e6fca6b8a.zip |
toolchain.eclass: attempt to use gnat-gpl if the bootstrap GNAT is too new
Bug: https://bugs.gentoo.org/880825
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 62ff83feed28..138925777dd6 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -891,7 +891,7 @@ toolchain_src_configure() { # As a last resort, use dev-lang/gnat-gpl. # TODO: Make gnat-gpl coinstallable with gcc:10. - if [[ -z ${ada_bootstrap} ]] ; then + if ver_test ${ada_bootstrap} -gt ${PV} || [[ -z ${ada_bootstrap} ]] ; then ebegin "Testing dev-lang/gnat-gpl for Ada" if has_version -b "dev-lang/gnat-gpl" ; then ada_bootstrap=10 |