On Mon, Feb 17, 2014 at 11:46 AM, Joshua Cranmer 🐧 <pidgeo...@gmail.com>wrote:

> On 2/16/2014 8:07 PM, Ehsan Akhgari wrote:
>
>> What is the plan for porting CFLAGS and friends to moz.build?  Is there
>> any work in progress for that?  How can one help?
>>
>
> The plan, as I understand it, is to look at the uses of CFLAGS et al and
> figure out what users are really trying to do with them instead of blindly
> porting them over. This is why moz.build has NO_VISIBILITY_FLAGS instead of
> saying VISIBILITY_FLAGS = None, e.g.


Hmm, that seems very different to what Gregory said!

At any rate we will need a way to at least do things such as set flags
based on individual files, set flags from third-party projects, etc.  Doing
a cursory look at the existing call sites, I don't see any reason to
believe we can avoid the generic CFLAGS and friends, unless we're planning
to write a full abstraction layer over the compiler flags which doesn't
seem like a very useful project if we want to link libxul out of moz.build
files in finite time.

Cheers,
--
Ehsan
<http://ehsanakhgari.org/>
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to