diff --git a/Jamfile b/Jamfile index b50efb3b9..fc2bf8104 100755 --- a/Jamfile +++ b/Jamfile @@ -77,6 +77,12 @@ rule linking ( properties * ) ; } + if ( gcc in $(properties) || darwin in $(properties) ) && debug in $(properties) + { + # enable debug iterators for gcc in debug mode + result += _GLIBCXX_DEBUG ; + } + return $(result) ; }