Index: third_party/hunspell/BUILD.gn |
diff --git a/third_party/hunspell/BUILD.gn b/third_party/hunspell/BUILD.gn |
index 87f5aec1373cc8ee56ae4f1f9f94e4dc23ee672c..d086c00d8ba6090de96997df13f326c33e73bdac 100644 |
--- a/third_party/hunspell/BUILD.gn |
+++ b/third_party/hunspell/BUILD.gn |
@@ -82,7 +82,7 @@ source_set("hunspell") { |
] |
} |
- if (is_posix && !is_mac) { |
+ if (is_posix && !is_mac && !is_clang) { |
cflags += [ |
"-Wno-unused-value", |
"-Wno-unused-variable", |
@@ -90,7 +90,7 @@ source_set("hunspell") { |
] |
} |
- if (is_posix && !is_mac && !is_ios) { |
+ if (is_posix && !is_mac && !is_ios && !is_clang) { |
cflags += [ |
# affentry.hxx has NULL as default parameter for a FLAG in two |
# places. |