Always display gcc's full version
This commit is contained in:
parent
f5e658dc6c
commit
49ba78d711
1 changed files with 3 additions and 3 deletions
|
@ -103,10 +103,10 @@ check_prerequisites() { #
|
||||||
check_version "$MIN_Bash_VER" "$BASH_VERSION" "BASH"
|
check_version "$MIN_Bash_VER" "$BASH_VERSION" "BASH"
|
||||||
fi
|
fi
|
||||||
if [ ! -z $MIN_GCC_VER ]; then
|
if [ ! -z $MIN_GCC_VER ]; then
|
||||||
check_version "$MIN_GCC_VER" "`gcc -dumpversion`" "GCC"
|
check_version "$MIN_GCC_VER" "`gcc -dumpfullversion -dumpversion`" "GCC"
|
||||||
check_version "$MIN_GCC_VER" "`g++ -dumpversion`" "G++"
|
check_version "$MIN_GCC_VER" "`g++ -dumpfullversion -dumpversion`" "G++"
|
||||||
elif [ ! -z $MIN_Gcc_VER ]; then
|
elif [ ! -z $MIN_Gcc_VER ]; then
|
||||||
check_version "$MIN_Gcc_VER" "`gcc -dumpversion`" "GCC"
|
check_version "$MIN_Gcc_VER" "`gcc -dumpfullversion -dumpversion`" "GCC"
|
||||||
fi
|
fi
|
||||||
if [ -n "$MIN_Glibc_VER" ]; then
|
if [ -n "$MIN_Glibc_VER" ]; then
|
||||||
check_version "$MIN_Glibc_VER" "$(ldd --version | head -n1 | awk '{print $NF}')" "GLIBC"
|
check_version "$MIN_Glibc_VER" "$(ldd --version | head -n1 | awk '{print $NF}')" "GLIBC"
|
||||||
|
|
Reference in a new issue