summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorbrucedawson <brucedawson@chromium.org>2016-03-25 00:09:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 07:10:46 +0000
commitbc907653b0b0bd505ee0393925517f11713df643 (patch)
tree4f95676dfcf88d2df3b513f18c152f9e7f6b7108 /build
parent7a24282a0d66f8ae0254c81efb2b62f987b821a9 (diff)
downloadchromium_src-bc907653b0b0bd505ee0393925517f11713df643.zip
chromium_src-bc907653b0b0bd505ee0393925517f11713df643.tar.gz
chromium_src-bc907653b0b0bd505ee0393925517f11713df643.tar.bz2
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}
Diffstat (limited to 'build')
-rw-r--r--build/config/compiler/BUILD.gn1
1 files changed, 0 insertions, 1 deletions
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