mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
fix the gcc version checking for gcc 3.1
This commit is contained in:
parent
25ebab2e09
commit
35c2a4c4d7
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ if test "x$optimize" = xyes; then
|
|||
shift
|
||||
args="$*"
|
||||
AC_MSG_CHECKING(for gcc version)
|
||||
CCVER="gcc `$CC --version`"
|
||||
CCVER="gcc `$CC --version | grep '[[0-9]]\.[[0-9]]' | sed -e 's/[[^0-9]]*\([[0-9.]]*\).*/\1/'`"
|
||||
set $CCVER
|
||||
IFS="."
|
||||
set $2
|
||||
|
|
Loading…
Reference in a new issue