Commit 7c1437e0 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

Narrow scope of -Wno-nonportable-include-path flag

Suppress the warning only on windows build.

This will help to prevent case insenstive include on Mac.

Bug: 617318
Change-Id: I765c10473f750277706fe60ec1c4779d4e11203b
Reviewed-on: https://chromium-review.googlesource.com/c/1286101
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#601070}
parent 49f8b648
......@@ -1480,12 +1480,16 @@ config("default_warnings") {
# TODO(thakis): https://crbug.com/604888
"-Wno-undefined-var-template",
]
if (is_win) {
# TODO(thakis): https://crbug.com/617318
# Currently goma can not handle case sensitiveness for windows well.
cflags += [ "-Wno-nonportable-include-path" ]
}
if (current_toolchain == host_toolchain || !use_xcode_clang ||
xcode_version_int >= 930) {
cflags += [
# TODO(thakis): https://crbug.com/617318
"-Wno-nonportable-include-path",
# TODO(hans): https://crbug.com/681136
"-Wno-unused-lambda-capture",
]
......
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