Branko Čibej <br...@wandisco.com> writes:

> On 21.12.2012 18:30, Philip Martin wrote:
>> Branko Čibej <br...@wandisco.com> writes:
>>
>>> Does "make EXTRA_CFLAGS=..." not give you exactly that?
>> I want to set the flags at configure.
>
> Sure, I understand that. But in order to do that, we'd have to introduce
> another variable besides C(XX)FLAGS, because those override whatever
> AC_PROG_CC would attempt to set, and always get used for bindings.
>
> Internally, configure already uses C(XX)USERFLAGS that could be
> repurposed for that kind of use, or even C(XX)MAINTAINERFLAGS, which
> have the right properties in that they're not used to compile swig
> wrappers and such.
>
> Would that satisfy your requirements?

I suppose I want to be able to specify an initial value for
CMAINTAINERFLAGS:

   configure CMAINTAINERFLAGS=--something-special

Then our code builds with --something-special, in addition to whatever
configure chooses to add, while the generated code builds without my
extra flag.

I wouldn't hold up your branch for this, trunk doesn't support it
either.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download

Reply via email to