commit: 8b286cd2cbe5be93c91115080340157047ac05a9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 01:11:19 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 01:11:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b286cd2
toolchain.eclass: print GDC version used
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 9c0e38519b29..15fe4dfb60bc 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1603,6 +1603,8 @@ toolchain_src_configure() {
einfo "Languages: ${GCC_LANG}"
einfo "GCC version: $($(tc-getCC) -v 2>&1 | grep ' version ' | awk
'{ print $3 }')"
is_ada && einfo "GNAT version: $(gnat 2>&1 | grep GNAT | awk '{
print $2 }')"
+ is_d && einfo "GDC version: $(${GDC} -v 2>&1 | grep ' version ' |
awk '{ print $3 }')"
+
echo
# Build in a separate build tree