From 2b5e60f3d26dc9e0b5caa2deb56dcbc9438b51ed Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Tue, 26 Jun 2012 15:27:12 +0000 Subject: [PATCH] Enable whole program optimization for WIN64 to make build-bot green. R=jkummerow@chromium.org BUG=v8:2207 Review URL: https://chromiumcodereview.appspot.com/10636055 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11933 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- build/common.gypi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/common.gypi b/build/common.gypi index ae6b2a7..c75a15e 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(2207): remove this option once the bug is fixed. + 'WholeProgramOptimization': 'true', + }], ], }, 'VCLinkerTool': { -- 2.7.4