summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-29 02:12:29 +0100
committerSam James <sam@gentoo.org>2024-09-29 02:12:54 +0100
commit53173d7420d926eb94cf94135350b124345cfa7a (patch)
treec4a561d005d91bc4e5705ffa2c98c87f60319b36 /eclass/toolchain.eclass
parenttoolchain.eclass: print GDC version used (diff)
downloadgentoo-53173d7420d926eb94cf94135350b124345cfa7a.tar.gz
gentoo-53173d7420d926eb94cf94135350b124345cfa7a.tar.bz2
gentoo-53173d7420d926eb94cf94135350b124345cfa7a.zip
toolchain.eclass: use ${GNAT} for GNAT version print
It shouldn't matter as we set PATH but let's do it anyway for consistency. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 15fe4dfb60bc..f941f08d4198 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1602,7 +1602,7 @@ toolchain_src_configure() {
einfo "STDCXX_INCDIR: ${STDCXX_INCDIR}"
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_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