Skip site navigation (1) Skip section navigation (2)

Re: BUG #2072: CPPFLAGS clobbered

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Keith Randall" <randallk(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2072: CPPFLAGS clobbered
Date: 2005-11-26 16:39:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"Keith Randall" <randallk(at)gmail(dot)com> writes:
> In src/template/linux the 
> overrides command-line CPPFLAGS
> I change it to
> and am back in business.

That's pretty much entirely the wrong way to fix it; or at least it's
inconsistent with the way we handle CFLAGS etc, and doing it this way
would require touching every template not only linux.

I'm thinking that should handle template CPPFLAGS settings
the same way it handles CFLAGS, ie, command line settings override the
template.  Probably LDFLAGS too.

BTW, why do you feel a need to override CPPFLAGS in the first place?

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2005-11-27 03:14:50
Subject: Re: Patch to allow contrib/pgbench files to have blank lines
Previous:From: Tom LaneDate: 2005-11-26 16:21:11
Subject: Re: BUG #2071: ERROR: invalid multibyte character for locale

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group