diff options
author | Sam James <sam@gentoo.org> | 2024-11-20 11:59:35 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-20 11:59:35 +0000 |
commit | 1b5d47858780c700e706582aa370a69148552055 (patch) | |
tree | 992de9ba86fb3d0d2338d3420438bf6078ef958f /eclass | |
parent | net-libs/libnetfilter_conntrack: Stabilize 1.1.0 hppa, #943493 (diff) | |
download | gentoo-1b5d47858780c700e706582aa370a69148552055.tar.gz gentoo-1b5d47858780c700e706582aa370a69148552055.tar.bz2 gentoo-1b5d47858780c700e706582aa370a69148552055.zip |
toolchain.eclass: fix Ada bootstrap paths for cross
Same sort of thing as 434a6775ce93a15ef517478565a938aa73d1d528 although
the paths are different as we're using something from libexec (gnat1).
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 02db921ce133..b3eb184498d9 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -956,10 +956,10 @@ toolchain_setup_ada() { case ${ada_bootstrap_type} in ada-bootstrap) export PATH="${BROOT}/usr/lib/ada-bootstrap/bin:${PATH}" - gnat1_path=${BROOT}/usr/lib/ada-bootstrap/libexec/gcc/${CBUILD}/${ada_bootstrap}/gnat1 + gnat1_path=${BROOT}/usr/lib/ada-bootstrap/libexec/gcc/${CHOST}/${ada_bootstrap}/gnat1 ;; *) - gnat1_path=${BROOT}/usr/libexec/gcc/${CBUILD}/${ada_bootstrap}/gnat1 + gnat1_path=${BROOT}/usr/libexec/gcc/${CHOST}/${ada_bootstrap}/gnat1 ;; esac |