diff options
author | Sam James <sam@gentoo.org> | 2024-09-29 02:12:29 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-29 02:12:54 +0100 |
commit | 53173d7420d926eb94cf94135350b124345cfa7a (patch) | |
tree | c4a561d005d91bc4e5705ffa2c98c87f60319b36 /eclass/toolchain.eclass | |
parent | toolchain.eclass: print GDC version used (diff) | |
download | gentoo-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.eclass | 2 |
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 |