Re: Add EXTRA_CFLAGS to configure - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Add EXTRA_CFLAGS to configure
Date
Msg-id CA+Tgmob+NO6jkVdLmapHwgkZjVH6590kX-8EHCpizvphcKZeHg@mail.gmail.com
Whole thread Raw
In response to Re: Add EXTRA_CFLAGS to configure  (Andres Freund <andres@anarazel.de>)
Responses Re: Add EXTRA_CFLAGS to configure  (Nathan Wagner <nw+pg@hydaspes.if.org>)
List pgsql-hackers
On Wed, Oct 28, 2015 at 2:17 PM, Andres Freund <andres@anarazel.de> wrote:
>> 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?

What I do is:

echo COPT=-Wall -Werror > src/Makefile.custom

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add EXTRA_CFLAGS to configure
Next
From: Nathan Wagner
Date:
Subject: Re: Add EXTRA_CFLAGS to configure