Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index ae6b2a7de69b4aa420254c5e808e77efed7d19a6..f8327edd3085e5d6c704fcf5f8b8a3a55a5b2999 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -380,13 +380,16 @@ |
'FavorSizeOrSpeed': '0', |
'OmitFramePointers': 'true', |
'StringPooling': 'true', |
- |
'conditions': [ |
['OS=="win" and component=="shared_library"', { |
'RuntimeLibrary': '2', #/MD |
}, { |
'RuntimeLibrary': '0', #/MT |
}], |
+ ['v8_target_arch=="x64"', { |
+ # TODO(V8:2207): remove this option once the bug is fixed. |
+ 'WholeProgramOptimization': 'true', |
+ }] |
Jakob Kummerow
2012/06/26 15:07:56
nit: missing comma
|
], |
}, |
'VCLinkerTool': { |