Re: Call for port reports

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2003-10-24T21:44:03Z
Lists: pgsql-hackers
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@gmx.net