projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0ec71
)
configure: better detect windows 'bitness' (WOW64)
author
Refael Ackermann
<refael@empeeric.com>
Tue, 1 Jul 2014 07:48:28 +0000
(10:48 +0300)
committer
Fedor Indutny
<fedor@indutny.com>
Tue, 1 Jul 2014 11:48:42 +0000
(15:48 +0400)
Signed-off-by: Fedor Indutny <fedor@indutny.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
daea8ca
..
c0a4ace
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-402,7
+402,8
@@
def host_arch_cc():
def host_arch_win():
"""Host architecture check using environ vars (better way to do this?)"""
- arch = os.environ.get('PROCESSOR_ARCHITECTURE', 'x86')
+ observed_arch = os.environ.get('PROCESSOR_ARCHITECTURE', 'x86')
+ arch = os.environ.get('PROCESSOR_ARCHITEW6432', observed_arch)
matchup = {
'AMD64' : 'x64',