summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2015-01-19 16:53:56 +0100
committerBert Belder <bertbelder@gmail.com>2015-01-19 20:12:11 +0100
commite8d08503c7821e8c92e9fa236ed7328e9bdfe62a (patch)
tree0cdee1161058c17db100347c23af16b00714a700 /common.gypi
parent4dd22b946ebfec81a7c4a61aa9c6ed528e317802 (diff)
downloadandroid-node-v8-e8d08503c7821e8c92e9fa236ed7328e9bdfe62a.tar.gz
android-node-v8-e8d08503c7821e8c92e9fa236ed7328e9bdfe62a.tar.bz2
android-node-v8-e8d08503c7821e8c92e9fa236ed7328e9bdfe62a.zip
win: bring back xp/2k3 support
Chrome still runs on Windows XP, so there is no reason that iojs couldn't. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi20
1 files changed, 14 insertions, 6 deletions
diff --git a/common.gypi b/common.gypi
index 7072a83aab..e323fc3a6c 100644
--- a/common.gypi
+++ b/common.gypi
@@ -141,8 +141,21 @@
},
'VCLinkerTool': {
'conditions': [
+ ['target_arch=="ia32"', {
+ 'TargetMachine' : 1, # /MACHINE:X86
+ 'target_conditions': [
+ ['_type=="executable"', {
+ 'AdditionalOptions': [ '/SubSystem:Console,"5.01"' ],
+ }],
+ ],
+ }],
['target_arch=="x64"', {
- 'TargetMachine' : 17 # /MACHINE:X64
+ 'TargetMachine' : 17, # /MACHINE:AMD64
+ 'target_conditions': [
+ ['_type=="executable"', {
+ 'AdditionalOptions': [ '/SubSystem:Console,"5.02"' ],
+ }],
+ ],
}],
],
'GenerateDebugInformation': 'true',
@@ -150,11 +163,6 @@
'DataExecutionPrevention': 2, # enable DEP
'AllowIsolation': 'true',
'SuppressStartupBanner': 'true',
- 'target_conditions': [
- ['_type=="executable"', {
- 'SubSystem': 1, # console executable
- }],
- ],
},
},
'msvs_disabled_warnings': [4351, 4355, 4800],