|
Boost-Commit : |
From: ghost_at_[hidden]
Date: 2007-12-03 05:39:48
Author: vladimir_prus
Date: 2007-12-03 05:39:46 EST (Mon, 03 Dec 2007)
New Revision: 41639
URL: http://svn.boost.org/trac/boost/changeset/41639
Log:
Fix 64-bit windows msvc detection, again.
Text files modified:
trunk/tools/build/v2/tools/msvc.jam | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/tools/build/v2/tools/msvc.jam
==============================================================================
--- trunk/tools/build/v2/tools/msvc.jam (original)
+++ trunk/tools/build/v2/tools/msvc.jam 2007-12-03 05:39:46 EST (Mon, 03 Dec 2007)
@@ -315,11 +315,11 @@
# selected by the "amd64" parameter to vcvarsall.bat.
# There are two variables we can use --
# PROCESSOR_ARCHITECTURE and PROCESSOR_IDENTIFIER.
- # The first reflects processor proper, and the second is
- # empirically found to be always x86 when using 32-bit
+ # The first is 'x86' when running 32-bit windows,
+ # no matter what processor is, and 'AMD64' on 64-bit
+ # windows on x86 (either AMD64 or EM64T).
# windows.
- if [ MATCH ^(AMD64) : [ os.environ PROCESSOR_IDENTIFIER ] ]
- || [ MATCH ^(EM64T) : [ os.environ PROCESSOR_IDENTIFIER ] ]
+ if [ MATCH ^(AMD64) : [ os.environ PROCESSOR_ARCHITECTURE ] ]
{
setup-option = x86 amd64 x86_ia64 ;
}
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