Commit 38ef7c8c by Scott Graham Committed by Commit Bot

Disable 4701 and 4703 for spirv_tools for Windows PGO build

BUG=chromium:677837 Change-Id: I5165ba9086a3d74fde7e7718909e242588f3c1de Reviewed-on: https://chromium-review.googlesource.com/424374Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent e180559f
...@@ -249,7 +249,14 @@ action("spirv_tools_gen_generators_inc") { ...@@ -249,7 +249,14 @@ action("spirv_tools_gen_generators_inc") {
config("spirv_tools_config") { config("spirv_tools_config") {
include_dirs = [ "$spirv_tools_dir/include" ] include_dirs = [ "$spirv_tools_dir/include" ]
if (is_win) { if (is_win) {
cflags = [ "/wd4706" ] cflags = [
"/wd4706",
# These are triggered in higher optimization levels. Disable for now until
# fixes are landed upstream. See https://crbug.com/677837.
"/wd4701",
"/wd4703",
]
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment