From 3b2d214ead259b0b53461ff54fb3438352eace09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Sat, 16 Feb 2008 16:53:33 +0000 Subject: [PATCH] Added support for compiling C++ programs without RTTI support using the gcc toolset. [SVN r43281] --- src/tools/gcc.jam | 1 + 1 file changed, 1 insertion(+) 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