From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | jtv <jtv(at)xs4all(dot)nl> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: libpq++ build problems |
Date: | 2002-07-03 19:47:47 |
Message-ID: | 200207031947.g63Jllg28352@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
jtv wrote:
> On Wed, Jul 03, 2002 at 01:45:56PM -0400, Bruce Momjian wrote:
> >
> > Actually, I am confused. In src/template/freebsd I see:
> >
> > CFLAGS='-pipe'
> >
> > case $host_cpu in
> > alpha*) CFLAGS="$CFLAGS -O";;
> > i386*) CFLAGS="$CFLAGS -O2";;
> > esac
> >
> > so why is he seeing the -O2 flag on FreeBSD/alpha?
>
> Probably because CXXFLAGS still has -O2 set.
Interesting. I thought -O2 was only set in /template files, but I now
see it is set in configure too. The following patch fixes the libpqxx
compile problem on FreeBSD/alpha. The old code set -O2 for
FreeBSD/i386, but that is already set earlier. The new patch just
updates the FreeBSD/alpha compile.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 586 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2002-07-03 20:46:46 | I am being interviewed by OReilly |
Previous Message | jtv | 2002-07-03 18:51:46 | Re: libpq++ build problems |