Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to remove specific compiler/linker flags
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-05-06 10:36:11


Boris Schaeling wrote:
> On Thu, 06 May 2010 08:28:57 +0200, Benjamin Prestele
> <benjamin.prestele_at_[hidden]> wrote:
>
>> [...]while the <optimization>off gets propagated down to all dependent
>> targets, the <cxxflags> do not. So basically all dependent targets
>> need to to be updated with the additional <cxxflags>.
>
> If the dependent targets are all defined in Jamfiles I think you can use:
>
> project : requirements <cxxflags>-O2 ;

What if he made a new variant? Would that get propagated? Or would a
feature? (What if the feature were link-incompatible?)

-- 
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk