From 51955026787826711890fa7741457cb510e9125c Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Fri, 10 Apr 2020 14:09:05 +0200 Subject: [PATCH] toolchain.eclass: fix ada build with lto Closes: https://bugs.gentoo.org/716570 Signed-off-by: Alfredo Tupone --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9471dc8d8a3c..ce113fd4e021 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 -- 2.26.2