commit: 51955026787826711890fa7741457cb510e9125c Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Fri Apr 10 12:09:05 2020 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Fri Apr 10 12:09:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51955026
toolchain.eclass: fix ada build with lto Closes: https://bugs.gentoo.org/716570 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9471dc8d8a3..ce113fd4e02 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1730,12 +1730,12 @@ gcc_do_make() { || die "emake failed with ${GCC_MAKE_TARGET}" if is_ada; then - # Building standard ada library - emake -C gcc gnatlib-shared # Without these links it is not getting the good compiler # 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
