| Index: third_party/sqlite/sqlite.gyp
|
| diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
|
| index 8e897ad1184137f7aa7fc6b74c5032e6bc90be92..c1ec3bc3bd0850ad579808d2125f13893a89f7cd 100644
|
| --- a/third_party/sqlite/sqlite.gyp
|
| +++ b/third_party/sqlite/sqlite.gyp
|
| @@ -119,6 +119,14 @@
|
| 'msvs_disabled_warnings': [
|
| 4018, 4244, 4267,
|
| ],
|
| + 'variables': {
|
| + 'clang_warning_flags': [
|
| + # sqlite does `if (*a++ && *b++);` in a non-buggy way.
|
| + '-Wno-empty-body',
|
| + # sqlite has some `unsigned < 0` checks.
|
| + '-Wno-tautological-compare',
|
| + ],
|
| + },
|
| 'conditions': [
|
| ['OS=="linux"', {
|
| 'link_settings': {
|
| @@ -153,20 +161,6 @@
|
| '-Wno-pointer-to-int-cast',
|
| ],
|
| }],
|
| - ['clang==1', {
|
| - 'xcode_settings': {
|
| - 'WARNING_CFLAGS': [
|
| - # sqlite does `if (*a++ && *b++);` in a non-buggy way.
|
| - '-Wno-empty-body',
|
| - # sqlite has some `unsigned < 0` checks.
|
| - '-Wno-tautological-compare',
|
| - ],
|
| - },
|
| - 'cflags': [
|
| - '-Wno-empty-body',
|
| - '-Wno-tautological-compare',
|
| - ],
|
| - }],
|
| ],
|
| }],
|
| ],
|
|
|