mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
Print gcc version in the same way as the rest
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
dab327ed06
commit
8e7947cb35
@ -101,7 +101,7 @@ dump_single_sample() {
|
|||||||
cc=$(echo ${CT_CC} | ${awk} '{ print toupper($0)}')
|
cc=$(echo ${CT_CC} | ${awk} '{ print toupper($0)}')
|
||||||
version=$(eval echo \${CT_CC_${cc}_VERSION})
|
version=$(eval echo \${CT_CC_${cc}_VERSION})
|
||||||
compiler=$(echo $cc | ${awk} '{print tolower($0)}')
|
compiler=$(echo $cc | ${awk} '{print tolower($0)}')
|
||||||
printf " $compiler | $version"
|
printf " $compiler-$version"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf " %-*s : %s" ${width} "Languages" "C"
|
printf " %-*s : %s" ${width} "Languages" "C"
|
||||||
[ "${CT_CC_LANG_CXX}" = "y" ] && printf ",C++"
|
[ "${CT_CC_LANG_CXX}" = "y" ] && printf ",C++"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user