Index: third_party/hunspell/hunspell.gyp |
diff --git a/third_party/hunspell/hunspell.gyp b/third_party/hunspell/hunspell.gyp |
index f2c5d3d6059896a881f1150497329a48f74c7af2..29860af7e8f6845deb6546d9b532d4a8318f248b 100644 |
--- a/third_party/hunspell/hunspell.gyp |
+++ b/third_party/hunspell/hunspell.gyp |
@@ -77,15 +77,11 @@ |
# TODO(jschuh): http://crbug.com/167187 size_t -> int |
'msvs_disabled_warnings': [ 4267 ], |
'conditions': [ |
- ['os_posix == 1 and OS != "mac"', { |
+ ['os_posix == 1 and OS != "mac" and clang==0', { |
'cflags': [ |
'-Wno-unused-value', |
'-Wno-unused-variable', |
'-Wno-write-strings', |
- ], |
- }], |
- ['gcc_version >= 48', { |
- 'cflags': [ |
# affentry.hxx has NULL as default parameter for a FLAG in two |
# places. |
'-Wno-conversion-null', |