Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 45195f12d1db70fc6c51528670a525b007f59b0b..4a9d45dd14e69d77686c6a634a39c27e4fdf363d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -280,6 +280,13 @@ |
}, |
}, |
}], |
+ ['OS=="win" and v8_target_arch=="x64"', { |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'StackReserveSize': '2097152', |
+ }, |
+ }, |
+ }], |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
or OS=="netbsd"', { |
'conditions': [ |
@@ -322,10 +329,6 @@ |
}, |
'VCLinkerTool': { |
'LinkIncremental': '2', |
- # For future reference, the stack size needs to be increased |
- # when building for Windows 64-bit, otherwise some test cases |
- # can cause stack overflow. |
- # 'StackReserveSize': '297152', |
}, |
}, |
'conditions': [ |
@@ -407,12 +410,7 @@ |
'VCLinkerTool': { |
'LinkIncremental': '1', |
'OptimizeReferences': '2', |
- 'OptimizeForWindows98': '1', |
'EnableCOMDATFolding': '2', |
- # For future reference, the stack size needs to be |
- # increased when building for Windows 64-bit, otherwise |
- # some test cases can cause stack overflow. |
- # 'StackReserveSize': '297152', |
}, |
}, |
}], # OS=="win" |