commit: 407beaa9de0f6d3056b71d5144cd7205ae413a6f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Dec 15 03:05:12 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 15 03:07:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407beaa9
toolchain.eclass: set ADA_{INCLUDE,OBJECTS}_DIR for new ada-bootstrap path For self-built ada-bootstrpa tarballs, we need this to help find the runtime library. Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6eef2a0ec03e..4e27cd2fb8f6 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -979,6 +979,9 @@ toolchain_setup_ada() { latest_ada_bootstrap="${latest_ada_bootstrap#dev-lang/ada-bootstrap-}" latest_ada_bootstrap=$(ver_cut 1 ${latest_ada_bootstrap}) ada_bootstrap="${latest_ada_bootstrap}" + + export ADA_INCLUDE_PATH="${BROOT}/usr/lib/ada-bootstrap/usr/lib/gcc/${CHOST}/${ada_bootstrap}/adainclude::${ADA_INCLUDE_PATH}" + export ADA_OBJECTS_PATH="${BROOT}/usr/lib/ada-bootstrap/usr/lib/gcc/${CHOST}/${ada_bootstrap}/adalib:${ADA_OBJECTS_PATH}" fi ada_bootstrap_type=ada-bootstrap