Print gcc version in the same way as the rest

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-05-14 12:27:53 -07:00
parent dab327ed06
commit 8e7947cb35

View File

@ -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++"