From 231c8fa2fb16c2ef95fff198eacaa0fb98697cba Mon Sep 17 00:00:00 2001 From: Nikolai Vavilov Date: Wed, 18 Oct 2017 14:39:33 +0300 Subject: [PATCH] build, windows: use /bigobj for debug builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/16289 Fixes: https://github.com/nodejs/node/issues/16288 Reviewed-By: James M Snell Reviewed-By: Ben Noordhuis Reviewed-By: Refael Ackermann Reviewed-By: Michaƫl Zasso --- common.gypi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.gypi b/common.gypi index de8cfc660d4229..fcac8928d245c1 100644 --- a/common.gypi +++ b/common.gypi @@ -110,6 +110,9 @@ 'MinimalRebuild': 'false', 'OmitFramePointers': 'false', 'BasicRuntimeChecks': 3, # /RTC1 + 'AdditionalOptions': [ + '/bigobj', # prevent error C1128 in VS2015 + ], }, 'VCLinkerTool': { 'LinkIncremental': 2, # enable incremental linking