diff options
author | Bert Belder <bertbelder@gmail.com> | 2015-01-19 18:53:56 +0300 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2015-01-19 22:12:11 +0300 |
commit | e8d08503c7821e8c92e9fa236ed7328e9bdfe62a (patch) | |
tree | 0cdee1161058c17db100347c23af16b00714a700 /common.gypi | |
parent | 4dd22b946ebfec81a7c4a61aa9c6ed528e317802 (diff) |
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.gypi | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/common.gypi b/common.gypi index 7072a83aab3..e323fc3a6c4 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], |