mirror of https://github.com/qt/qtbase.git
Configure: Fix detection of GCC 5
$ gcc-5 -dumpversion 5 No dots. Change-Id: I5dd547f257718c981e7be64fca3eec980136ba3e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
5d8baf9056
commit
9fb4c2c412
|
@ -6031,6 +6031,10 @@ s/icpc version \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\) .*$/QT_ICC_MAJOR_VERSION=\1; Q
|
||||||
QT_GCC_MINOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\).*,\2,'`
|
QT_GCC_MINOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\).*,\2,'`
|
||||||
QT_GCC_PATCH_VERSION=0
|
QT_GCC_PATCH_VERSION=0
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
QT_GCC_MAJOR_VERSION=$COMPILER_VERSION
|
||||||
|
QT_GCC_MINOR_VERSION=0
|
||||||
|
QT_GCC_PATCH_VERSION=0
|
||||||
esac
|
esac
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue