1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 01:41:50 -05:00

AIX xlc has to have strict aliasing turned off. If not, the optimizer

assumes that pointers can only point to an object of the same type.
This commit is contained in:
Yang Tse 2007-02-07 17:34:30 +00:00
parent 6647ca6ec5
commit 4ab91a93e8

View File

@ -1459,6 +1459,10 @@ if test "x$RECENTAIX" = "xyes"; then
XLC="yes"
AC_MSG_RESULT([yes])
CFLAGS="$CFLAGS -qthreaded"
dnl AIX xlc has to have strict aliasing turned off. If not,
dnl the optimizer assumes that pointers can only point to
dnl an object of the same type.
CFLAGS="$CFLAGS -qnoansialias"
)