Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51308 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2009-02-18 07:49:14


Author: vladimir_prus
Date: 2009-02-18 07:49:13 EST (Wed, 18 Feb 2009)
New Revision: 51308
URL: http://svn.boost.org/trac/boost/changeset/51308

Log:
Do not use -fast, since it causes the code to be generated for
the processor the compiler is running on. Use -xO4 instead.
Fixes #2773.

Text files modified:
   trunk/tools/build/v2/tools/sun.jam | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/sun.jam
==============================================================================
--- trunk/tools/build/v2/tools/sun.jam (original)
+++ trunk/tools/build/v2/tools/sun.jam 2009-02-18 07:49:13 EST (Wed, 18 Feb 2009)
@@ -49,7 +49,7 @@
 # Declare flags and actions for compilation
 flags sun.compile OPTIONS <debug-symbols>on : -g ;
 flags sun.compile OPTIONS <profiling>on : -xprofile=tcov ;
-flags sun.compile OPTIONS <optimization>speed : -fast ;
+flags sun.compile OPTIONS <optimization>speed : -xO4 ;
 flags sun.compile OPTIONS <optimization>space : -xO2 -xspace ;
 flags sun.compile OPTIONS <threading>multi : -mt ;
 


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