Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84156 - trunk/libs/log/build
From: andrey.semashev_at_[hidden]
Date: 2013-05-05 18:20:59


Author: andysem
Date: 2013-05-05 18:20:58 EDT (Sun, 05 May 2013)
New Revision: 84156
URL: http://svn.boost.org/trac/boost/changeset/84156

Log:
Removed /arch:SSE2 for 64 bit MSVC as it's not needed.
Text files modified:
   trunk/libs/log/build/Jamfile.v2 | 10 +++++++++-
   1 files changed, 9 insertions(+), 1 deletions(-)

Modified: trunk/libs/log/build/Jamfile.v2
==============================================================================
--- trunk/libs/log/build/Jamfile.v2 (original)
+++ trunk/libs/log/build/Jamfile.v2 2013-05-05 18:20:58 EDT (Sun, 05 May 2013)
@@ -163,7 +163,15 @@
             if ! [ version.version-less $(version) : 9 0 ]
             {
                 # MSVC doesn't really care about these switches, all SSE intrinsics are always available, but still...
- result = <cxxflags>"/arch:SSE2" ;
+ # Also 64 bit MSVC doesn't have the /arch:SSE2 switch as it is the default.
+ if <address-model>32 in $(properties)
+ {
+ result = <cxxflags>"/arch:SSE2" ;
+ }
+ else
+ {
+ result = ;
+ }
             }
         }
         else if <toolset>clang in $(properties)


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