Re: Add EXTRA_CFLAGS to configure

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
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:42:19
Message-ID: CA+Tgmob+NO6jkVdLmapHwgkZjVH6590kX-8EHCpizvphcKZeHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 28, 2015 at 2:17 PM, Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Wagner 2015-10-28 13:53:31 Re: Add EXTRA_CFLAGS to configure
Previous Message Tom Lane 2015-10-28 13:36:39 Re: Add EXTRA_CFLAGS to configure