diff options
-rw-r--r-- | third_party/sqlite/sqlite.gyp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp index 4849212..4dc0891 100644 --- a/third_party/sqlite/sqlite.gyp +++ b/third_party/sqlite/sqlite.gyp @@ -118,6 +118,20 @@ '-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', + ], + }], ], }], ], |