From: Alfredo Tupone Date: Fri, 10 Apr 2020 12:09:05 +0000 (+0200) Subject: toolchain.eclass: fix ada build with lto X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51955026787826711890fa7741457cb510e9125c;p=gentoo.git toolchain.eclass: fix ada build with lto Closes: https://bugs.gentoo.org/716570 Signed-off-by: Alfredo Tupone --- 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