From 0a0b2fe6aadb9d0c3b41fdabb21535659c839bf5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 20 Nov 2024 12:15:05 +0000 Subject: toolchain.eclass: followup Ada fix Followup to 1b5d47858780c700e706582aa370a69148552055. Signed-off-by: Sam James --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass') 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}:" \ -- cgit v1.2.3-65-gdbad