From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add EXTRA_CFLAGS to configure |
Date: | 2015-10-28 13:17:30 |
Message-ID: | 20151028131729.GH29811@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2015-10-28 12:20:22 +0100, Robert Haas wrote:
> On Wed, Oct 28, 2015 at 11:55 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > I rather regularly want to pass extra flags to configure without
> > overwriting CFLAGS. There's two basic reasons:
> >
> > 1) ./configure CFLAGS=... essentially breaks --enable-debug and related
> > options, overwrites -O2 as the default and such. That's imo pretty
> > confusing.
> > 2) I like to be able to pass -Werror or something to configure without
> > breaking a bunch of configure tests that won't work with Werror.
> >
> > A good way to do that seems to be to add a separate variable for that
> > purpose? Unless someobdy has a better idea?
>
> I use COPT for this purpose.
Unless I miss something you can't just pass that to configure though,
right? I.e. it has to be passed to each make invocation?
Andres
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-10-28 13:33:07 | Re: [PROPOSAL] Max recursion depth in WITH Queries (Common Table Expressions) |
Previous Message | Kevin Grittner | 2015-10-28 12:49:22 | Re: Disabling START TRANSACTION for a SuperUser |