postgresql/src/template/aix

19 lines
509 B
Plaintext
Raw Normal View History

# Set appropriate default compiler options if using xlc
# Note: configure will add -qnoansialias if the compiler accepts it,
# even if user specifies a non-default CFLAGS setting.
2003-10-10 00:55:46 +02:00
if test "$GCC" != yes ; then
case $host_os in
2003-11-01 21:45:30 +01:00
aix3.2.5 | aix4.1*)
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
2003-11-01 21:45:30 +01:00
;;
*)
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
2003-11-01 21:45:30 +01:00
;;
esac
fi
2006-02-03 14:56:20 +01:00
# Native memset() is faster, tested on:
# AIX 5.1 and 5.2, XLC 6.0 (IBM's cc)
# AIX 5.3 ML3, gcc 4.0.1
MEMSET_LOOP_LIMIT=0