Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-07-11 05:56:04

On Wednesday 11 July 2007 11:55, Jos Hickson wrote:
> Hello,
> I still haven't managed to find a proper fix for this. My solution at
> the moment is to add <cxxflags>-O2 to our Jamroot for release builds:
> the -O2 appears after the -O3 and therefore is the setting use but
> that does not seem a particularly neat approach.

There's no nice solution. One possibility is to make a copy of gcc.jam,
edit it to taste, and change BOOST_BUILD_PATH so that your copy of gcc.jam
is found first.

> One thing I was wonder was why -O3 is the default as that is usually
> considered a bit risky?

Is it? I'm not aware of that.

- Volodya

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