Boost logo

Boost-Build :

Subject: [Boost-build] cxxflags depending on tooslet and version?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-03-28 13:49:49

I need to define a pre-processor macro (BOOST_USE_SPLIT_STACK) and apply
a command line option for gcc (<cxxflags>-fsplit_stack) depending for
gcc version greater/equal to gcc-2.6 in the Jamfile!
How can I do this?

<toolset>gcc,<version> > 2.6: <define>BOOST_USE_SPLIT_STACK
<toolset>gcc,<version> > 2.6: <cxxflags>-fsplit_stack



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