summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2020-04-10 14:09:05 +0200
committerAlfredo Tupone <tupone@gentoo.org>2020-04-10 14:09:05 +0200
commit51955026787826711890fa7741457cb510e9125c (patch)
tree3b3d7278979562219765626e48151e512c69fd05 /eclass
parentdev-vcs/cvs-fast-export: bump up to 1.52 (diff)
downloadgentoo-51955026787826711890fa7741457cb510e9125c.tar.gz
gentoo-51955026787826711890fa7741457cb510e9125c.tar.bz2
gentoo-51955026787826711890fa7741457cb510e9125c.zip
toolchain.eclass: fix ada build with lto
Closes: https://bugs.gentoo.org/716570 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files 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