diff options
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index db8f8345d2..9d6952af4a 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -288,6 +288,11 @@ config("warnings") { "/wd4291", # no matching operator delete found; # memory will not be freed if initialization throws an exception ] + if (is_clang) { + # Shouldn't be necessary for local builds. With distributed builds, files may lose + # their case during copy, causing case-sensitivity mismatch on remote machines. + cflags += [ "-Wno-nonportable-include-path" ] + } } else { cflags += [ "-Wall", |