1 # Set default options if using xlc. This formerly included -qsrcmsg, but that
2 # option elicits internal compiler errors from xlc v16.1.0. Note: configure
3 # will add -qnoansialias if the compiler accepts it, even if user specifies a
4 # non-default CFLAGS setting.
5 if test "$GCC" != yes ; then
8 CFLAGS="-O -qmaxmem=16384"
11 CFLAGS="-O2 -qmaxmem=16384"
15 # Due to a compiler bug, see 20171013023536.GA492146@rfd.leadboat.com for details,
16 # force restrict not to be used when compiling with xlc.
17 FORCE_DISABLE_RESTRICT=yes
20 # Native memset() is faster, tested on:
21 # AIX 5.1 and 5.2, XLC 6.0 (IBM's cc)
22 # AIX 5.3 ML3, gcc 4.0.1