Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-02-16 11:53:33


Author: jurko
Date: 2008-02-16 11:53:33 EST (Sat, 16 Feb 2008)
New Revision: 43281
URL: http://svn.boost.org/trac/boost/changeset/43281

Log:
Added support for compiling C++ programs without RTTI support using the gcc toolset.
Text files modified:
   trunk/tools/build/v2/tools/gcc.jam | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/tools/gcc.jam
==============================================================================
--- trunk/tools/build/v2/tools/gcc.jam (original)
+++ trunk/tools/build/v2/tools/gcc.jam 2008-02-16 11:53:33 EST (Sat, 16 Feb 2008)
@@ -298,6 +298,7 @@
 
 flags gcc.compile OPTIONS <debug-symbols>on : -g ;
 flags gcc.compile OPTIONS <profiling>on : -pg ;
+flags gcc.compile OPTIONS <rtti>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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk