mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user