diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 3516b94d0..691437d9e 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -298,6 +298,7 @@ flags gcc.compile OPTIONS on : -Werror ; 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