mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
make sure -fno-strict-aliasing gets set for gcc 2.96 (dunno if this will
work, but worth a try)
This commit is contained in:
parent
f882e8400e
commit
8b33d29848
1 changed files with 9 additions and 0 deletions
|
@ -1150,8 +1150,17 @@ if test "x$optimize" = xyes; then
|
|||
set $2
|
||||
if test $1 -ge 3; then
|
||||
CFLAGS="$CFLAGS -fstrict-aliasing"
|
||||
else
|
||||
if test $1 = 2 -a $ $2 = 96; then
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
fi
|
||||
fi
|
||||
IFS=" "
|
||||
else
|
||||
set $CCVER
|
||||
if test $1 = 2.96; then
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
AC_MSG_CHECKING(for special compiler settings)
|
||||
|
|
Loading…
Reference in a new issue