Your name : Jeff Garzik
Your email address : jga...@pobox.com
Category : install: compile
Severity : non-critical
Summary: optimization flags ignored in configure
System Configuration
--------------------
Operating System : Solaris 2.6
PostgreSQL version : 6.3.2
Compiler used : gcc 2.8.1
Hardware:
---------
SunOS ext1 5.6 Generic_105181-06 sun4m sparc SUNW,SPARCstation-5
SPARC 5, 64 MB RAM, 2GB disk
Versions of other tools:
------------------------
gmake 3.76.1
--------------------------------------------------------------------------
Problem Description:
--------------------
CFLAGS are passed to postgres in a normal, autoconf-standard manner:
CC=gcc CFLAGS='-O -fomit-frame-pointer' ./configure
However, postgres is not compiled with ANY CFLAGS at all.
--------------------------------------------------------------------------
Test Case:
----------
Anything CFLAGS setting at configure time is ignored. Reproduce
with about configure line.
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------