Boost logo

Boost-Commit :

From: Boris.Gubenko_at_[hidden]
Date: 2007-11-12 12:03:39


Author: bgubenko
Date: 2007-11-12 12:03:38 EST (Mon, 12 Nov 2007)
New Revision: 41036
URL: http://svn.boost.org/trac/boost/changeset/41036

Log:
add -fno-strict-aliasing to compilation with gcc
Text files modified:
   trunk/tools/jam/src/build.jam | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/jam/src/build.jam
==============================================================================
--- trunk/tools/jam/src/build.jam (original)
+++ trunk/tools/jam/src/build.jam 2007-11-12 12:03:38 EST (Mon, 12 Nov 2007)
@@ -175,7 +175,7 @@
     : -L$(--python-lib[1]) -l$(--python-lib[2]) ;
 ## GCC 2.x, 3.x, 4.x
 toolset gcc gcc : "-o " : -D
- : -pedantic
+ : -pedantic -fno-strict-aliasing
     [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
     [ opt --debug : -g -O0 -fno-inline ]
     -I$(--python-include) -I$(--extra-include) -Wno-long-long


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