diff --git a/src/tools/msvc.jam b/src/tools/msvc.jam index 685af85fa..cf6cc7a95 100644 --- a/src/tools/msvc.jam +++ b/src/tools/msvc.jam @@ -1779,7 +1779,7 @@ local rule default-path ( version ) rule get-rspline ( target : lang-opt lang-flags ) { CC_RSPLINE on $(target) = [ on $(target) return $(lang-opt) -U$(UNDEFS) - $($(lang-flags)) $(OPTIONS) -D$(DEFINES) + $($(lang-flags)) $(OPTIONS) $(USER_COMPILEFLAGS) $(USER_$(lang-flags)) -D$(DEFINES) \"-I$(INCLUDES:W)\" \"-FI$(FORCE_INCLUDES:W)\" ] ; } @@ -1956,8 +1956,9 @@ local rule register-toolset-really ( ) toolset.flags msvc.compile OPTIONS off/static/multi : /MT ; toolset.flags msvc.compile OPTIONS on/static/multi : /MTd ; - toolset.flags msvc.compile CFLAGS : ; - toolset.flags msvc.compile.c++ C++FLAGS : ; + toolset.flags msvc.compile USER_CFLAGS : ; + toolset.flags msvc.compile.c++ USER_C++FLAGS : ; + toolset.flags msvc.compile.c++ USER_COMPILEFLAGS : ; toolset.flags msvc.compile PDB_CFLAG on/database : /Fd ;