Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to remove specific compiler/linker flags
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-05-06 08:16:06

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 ;

> So I guess there really is no simple way to actually remove flags?

Not that I know of.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at