summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-10-01 11:26:00 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-10-01 15:38:24 -0400
commit8c195224ab8d8a499d120cb0b44371d7d7c0511c (patch)
tree3fb7bb35e4086e46a6fed1def4d27e9c874ea5ad /eclass
parentnet-misc/smb4k: drop 3.2.80 (diff)
downloadgentoo-8c195224ab8d8a499d120cb0b44371d7d7c0511c.tar.gz
gentoo-8c195224ab8d8a499d120cb0b44371d7d7c0511c.tar.bz2
gentoo-8c195224ab8d8a499d120cb0b44371d7d7c0511c.zip
toolchain.eclass: fix typo that prevented configuring with USE=ada
We need a bootstrap (version) and a bootstrap_type (value irrelevant for now except to flag whether it is ada-bootstrap). Due to a typo, we set the former first to the detected slot and then immediately to the value "gcc", which made no sense since "gcc" isn't a valid SLOT version of gcc. Hence we tried to run ${triplet}-gcc-gcc instead of running ${triplet}-gcc-${SLOT}. Only reproducible when using gnat-gpl itself as the gcc edition. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e253cffa777b..3547549b1a12 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -884,7 +884,7 @@ toolchain_setup_ada() {
ebegin "Testing fallback dev-lang/gnat-gpl for Ada"
if has_version -b "dev-lang/gnat-gpl" ; then
ada_bootstrap=10
- ada_bootstrap=gcc
+ ada_bootstrap_type=gcc
eend 0
else
eend 1