mirror of
https://github.com/boostorg/build.git
synced 2026-02-21 02:52:12 +00:00
Change the detection of 64-bit windows to handle EM64T processors.
[SVN r41532]
This commit is contained in:
@@ -310,8 +310,16 @@ local rule configure-really (
|
||||
# and x86_ia64 is right one.
|
||||
setup-option = x86 x86_amd64 x86_ia64 ;
|
||||
|
||||
# Use a native x64 compiler if possible
|
||||
# When using 64-bit Windows, and targeting 64-bit,
|
||||
# it's possible to use native 64-bit compiler, which is
|
||||
# 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
|
||||
# windows.
|
||||
if [ MATCH ^(AMD64) : [ os.environ PROCESSOR_IDENTIFIER ] ]
|
||||
|| [ MATCH ^(EM64T) : [ os.environ PROCESSOR_IDENTIFIER ] ]
|
||||
{
|
||||
setup-option = x86 amd64 x86_ia64 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user