commit: c8edc25b3fd40bd86168c8c4427da1ad60c01631 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Feb 23 00:31:01 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 23 00:31:01 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8edc25b
toolchain.eclass: hoist libada condition up Followup to 39a3781ddc4431b2485852a56a1fe2971fe2b86d. Bug: https://bugs.gentoo.org/970098 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 02cec10e2768..b77c0b69aab5 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1427,6 +1427,10 @@ toolchain_src_configure() { ;; esac + if in_iuse ada ; then + confgcc+=( $(use_enable ada libada) ) + fi + ### Cross-compiler option # # Note that 'newlib' here doesn't have to mean genuine newlib. @@ -1781,10 +1785,6 @@ toolchain_src_configure() { fi fi - if in_iuse ada ; then - confgcc+=( $(use_enable ada libada) ) - fi - if in_iuse cet ; then # Usage: triple_arch triple_env cet_name enable_cet_for() {
