Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-10-11 09:03:09


I'm trying to write a custom toolset for gcc which _removes_ a command line
flag specified by the base gcc toolset.

I tried the following tool description to remove the debug flag from the
compiler and linker command line but it dose not work. The debug flag shows
up anyway.

local GCC_ROOT_DIRECTORY = "/opt/gcc-3.4.2" ;

extends-toolset gcc ;

flags gcc CFLAGS <debug-symbols>on : ;
flags gcc LINKFLAGS <debug-symbols>on : ;

For now I just copied the original toolset and modified it but is there
another solution?

TIA, Markus


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