mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
fix an IFS snaffu that raorn found
This commit is contained in:
parent
bc9fcc3dc7
commit
3aea7f5088
1 changed files with 2 additions and 1 deletions
|
@ -1428,12 +1428,13 @@ if test "x$optimize" = xyes; then
|
|||
AC_MSG_CHECKING(for gcc version)
|
||||
CCVER="gcc `$CC --version | grep '[[0-9]]\.[[0-9]]' | sed -e 's/.*(GCC)//' -e 's/[[^0-9]]*\([[0-9.]]*\).*/\1/'`"
|
||||
set $CCVER
|
||||
save_IFS="$IFS"
|
||||
IFS="."
|
||||
set $2
|
||||
CC_MAJ=$1
|
||||
CC_MIN=$2
|
||||
CC_SUB=$3
|
||||
IFS=" "
|
||||
IFS="$save_IFS"
|
||||
AC_MSG_RESULT($CCVER)
|
||||
saved_cflags="$CFLAGS"
|
||||
CFLAGS=""
|
||||
|
|
Loading…
Reference in a new issue