summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-20 12:15:05 +0000
committerSam James <sam@gentoo.org>2024-11-20 12:15:38 +0000
commit0a0b2fe6aadb9d0c3b41fdabb21535659c839bf5 (patch)
tree7066f6c6c4490095096dd3a47ac9c039706fc900 /eclass
parentdev-python/meson-python: Remove old (diff)
downloadgentoo-0a0b2fe6aadb9d0c3b41fdabb21535659c839bf5.tar.gz
gentoo-0a0b2fe6aadb9d0c3b41fdabb21535659c839bf5.tar.bz2
gentoo-0a0b2fe6aadb9d0c3b41fdabb21535659c839bf5.zip
toolchain.eclass: followup Ada fix
Followup to 1b5d47858780c700e706582aa370a69148552055. Signed-off-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 b3eb184498d9..8b3b5db38900 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -976,7 +976,7 @@ toolchain_setup_ada() {
# work for us as the stage1 compiler doesn't necessarily have Ada
# support. Substitute the Ada compiler we found earlier.
local adalib
- adalib=$(${CBUILD}-gcc-${ada_bootstrap} -print-libgcc-file-name || die "Finding adalib dir failed")
+ adalib=$(${CHOST}-gcc-${ada_bootstrap} -print-libgcc-file-name || die "Finding adalib dir failed")
adalib="${adalib%/*}/adalib"
sed -i \
-e "s:adalib=.*:adalib=${adalib}:" \