From bc907653b0b0bd505ee0393925517f11713df643 Mon Sep 17 00:00:00 2001 From: brucedawson Date: Fri, 25 Mar 2016 00:09:17 -0700 Subject: Remove /RTC1 switch to let debug mini_installer build The /RTC1 switch adds references to _RTC_CheckStackVars and _RTC_InitBase which causes msvcrtd.lib to be pulled in which causes gn debug builds of mini_installer to fail. /RTC1 is not used in gyp builds and therefore it should be removed from gn builds unless we decide that it offers enough value to justify the effort required to put it back in. BUG=596885 Review URL: https://codereview.chromium.org/1831213002 Cr-Commit-Position: refs/heads/master@{#383261} --- build/config/compiler/BUILD.gn | 1 - 1 file changed, 1 deletion(-) (limited to 'build') diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index a096d56..3a8327c 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -1186,7 +1186,6 @@ config("no_optimize") { cflags = [ "/Od", # Disable optimization. "/Ob0", # Disable all inlining (on by default). - "/RTC1", # Runtime checks for stack frame and uninitialized variables. ] } else if (is_android && !android_full_debug) { # On Android we kind of optimize some things that don't affect debugging -- cgit v1.1