Skip to content

Commit

Permalink
toolchain.eclass: fix ada build with lto
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/716570

Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Apr 10, 2020
1 parent 19d354a commit 5195502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/toolchain.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5195502

Please sign in to comment.