diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 19:05:23 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 19:05:23 +0000 |
commit | 4ef0386631a343328f43f6f2102715ff8c2f129a (patch) | |
tree | c1fb12ab0229a394bdc9aff6fe37bde99e7fa9a2 /third_party/sqlite/sqlite.gyp | |
parent | fb1b5e118e48d32d8697f54f2fe64962b67c0686 (diff) | |
download | chromium_src-4ef0386631a343328f43f6f2102715ff8c2f129a.zip chromium_src-4ef0386631a343328f43f6f2102715ff8c2f129a.tar.gz chromium_src-4ef0386631a343328f43f6f2102715ff8c2f129a.tar.bz2 |
Revert 119307 - Revert 117996 and 117998 (clang warning flag fiddling).
These were causing some compiles to hang.
BUG=111208
TEST=Compilation terminates.
Review URL: https://chromiumcodereview.appspot.com/9169090
TBR=rsleevi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9303004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119700 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/sqlite/sqlite.gyp')
-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 7f9bdba..6c4316b 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', + ], + }], ], }], ], |