commit:     1381eb9987c440618861c7d22df04871a235233c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 01:27:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 00:18:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1381eb99

toolchain.eclass: more Ada cleanup

Breaks w/ pic linking and unnecessary. Use the regular build system route.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e9ee095d772e..f8c290bf4a07 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1878,18 +1878,6 @@ gcc_do_make() {
        pushd "${WORKDIR}"/build >/dev/null || die
        emake "${emakeargs[@]}" ${GCC_MAKE_TARGET}
 
-       if is_ada; then
-               # Without these links, it is not getting the good compiler
-               # TODO: Need to check why
-               ln -s gcc ../build/prev-gcc || die
-               ln -s ${CHOST} ../build/prev-${CHOST} || die
-
-               # Building standard ada library
-               emake -C gcc gnatlib-shared
-               # Building gnat toold
-               emake -C gcc gnattools
-       fi
-
        if ! is_crosscompile && _tc_use_if_iuse cxx && _tc_use_if_iuse doc ; 
then
                if type -p doxygen > /dev/null ; then
                        cd "${CTARGET}"/libstdc++-v3/doc || die

Reply via email to