printinfo: display version of correct compiler if CC does not point to gcc
[skip ci]
This commit is contained in:
parent
be5418368c
commit
f9a1041222
@ -12,5 +12,9 @@ echo "Testing version:" $version
|
||||
echo "uname="`uname -a`
|
||||
|
||||
# get gcc name
|
||||
echo "gcc="`gcc -dumpversion`
|
||||
if [ -z ${CC} ]
|
||||
then
|
||||
CC="gcc"
|
||||
fi
|
||||
echo "${CC}="`${CC} -dumpversion`
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user