Index: gcc.jam =================================================================== --- gcc.jam (revision 43279) +++ gcc.jam (working copy) @@ -309,6 +309,8 @@ flags gcc.compile OPTIONS on : -g ; flags gcc.compile OPTIONS on : -pg ; + +flags gcc.compile OPTIONS off : -fno-rtti ; # On cygwin and mingw, gcc generates position independent code by default, # and warns if -fPIC is specified. This might not be the right way # of checking if we're using cygwin. For example, it's possible Index: msvc.jam =================================================================== --- msvc.jam (revision 43279) +++ msvc.jam (working copy) @@ -475,6 +475,9 @@ # 8.0 and above only has multi-threaded static RTL. toolset.flags $(toolset).compile CFLAGS $(condition)/off/static/single : /MT ; toolset.flags $(toolset).compile CFLAGS $(condition)/on/static/single : /MTd ; + + # 8.0 enables rtti by default + toolset.flags $(toolset).compile CFLAGS $(condition)/off : /GR- ; } toolset.pop-checking-for-flags-module ; }