--- boost-HEAD/tools/build/v2/build/build-request.jam.orig 2006-04-14 17:57:28.000000000 +0100 +++ boost-HEAD/tools/build/v2/build/build-request.jam 2006-04-16 10:59:21.000000000 +0100 @@ -125,9 +125,14 @@ local properties ; command-line = $(command-line[2-]) ; + local skip-next = ; for local e in $(command-line) { - if ! [ MATCH "^(-).*" : $(e) ] + if $(skip-next) + { + skip-next = ; + } + else if ! [ MATCH "^(-).*" : $(e) ] { # Build request spec either has "=" in it, or completely # consists of implicit feature values. @@ -142,6 +147,10 @@ targets += $(e) ; } } + else if [ MATCH "^(-[-ldjfsto])$" : $(e) ] + { + skip-next = true ; + } } return [ new vector [ new vector $(targets) ] [ new vector $(properties) ] ] ; }