Bruce Momjian writes:
> > BUT: The default CFLAGS are set by configure to -O2, although the template
> > wants -O. I manually modified the CFLAGS to -O after configure.
>
> template/alpha has:
>
> case $host_cpu in
> alpha*) CFLAGS="$CFLAGS -O";; # alpha has problems with -O2
> esac
>
> Is this not getting invoked?
It appends it at the end, but apparently the result of '-02 ... -O' is
-O2. So the compiler still yells at you every time that -O2 is broken in
that platform.
Right now, the default CFLAGS are pretty much broken on most platforms, so
I'm testing by manually specifying the CFLAGS that should be used.
--
Peter Eisentraut peter_e(at)gmx(dot)net