enabled standard library debugging in debug mode for gcc toolsets

This commit is contained in:
Arvid Norberg 2007-08-02 00:05:42 +00:00
parent f2a8fe6df7
commit 77481c24a7
1 changed files with 6 additions and 0 deletions

View File

@ -77,6 +77,12 @@ rule linking ( properties * )
; ;
} }
if ( <toolset>gcc in $(properties) || <toolset>darwin in $(properties) ) && <variant>debug in $(properties)
{
# enable debug iterators for gcc in debug mode
result += <define>_GLIBCXX_DEBUG ;
}
return $(result) ; return $(result) ;
} }