CC not getting -O passed?

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: CC not getting -O passed?
Date: 2000-10-29 15:20:30
Message-ID: 20001029092030.A15280@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When I configure PG using:

CC=cc CXX=CC ./configure --prefix=/home/ler/pg-test --enable-syslog --with-CXX --with-perl --enable-multibyte --with-includes=/usr/local/include --with-libs=/usr/local/lib

CC doesn't see the -O flag.

CC -g -K PIC -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -c -o pgconnection.o pgconnection.cc
CC -g -K PIC -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -c -o pgdatabase.o pgdatabase.cc
CC -g -K PIC -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -c -o pgtransdb.o pgtransdb.cc
CC -g -K PIC -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -c -o pgcursordb.o pgcursordb.cc
CC -g -K PIC -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -c -o pglobject.o pglobject.cc
CC -G -Wl,-z,text -o libpq++.so.3.1 pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o -L/usr/local/lib -L../../../src/interfaces/libpq -lpq -Wl,-R/home/ler/pg-test/lib

Why?
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-10-29 15:36:47 READ THIS: changes in mailing list ...
Previous Message Larry Rosenman 2000-10-29 15:09:29 regression failure/UnixWare7.1.1/current sources/multibyte.