summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-29 02:11:19 +0100
committerSam James <sam@gentoo.org>2024-09-29 02:11:19 +0100
commit8b286cd2cbe5be93c91115080340157047ac05a9 (patch)
treebb8b61706a628ecbd213b33cb85b426d62cb1307 /eclass
parenttoolchain.eclass: install gdc symlink too (diff)
downloadgentoo-8b286cd2cbe5be93c91115080340157047ac05a9.tar.gz
gentoo-8b286cd2cbe5be93c91115080340157047ac05a9.tar.bz2
gentoo-8b286cd2cbe5be93c91115080340157047ac05a9.zip
toolchain.eclass: print GDC version used
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 2 insertions, 0 deletions
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