diff options
Diffstat (limited to 'third_party/sqlite')
-rw-r--r-- | third_party/sqlite/sqlite.gyp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp index d4d581f..dae9b13 100644 --- a/third_party/sqlite/sqlite.gyp +++ b/third_party/sqlite/sqlite.gyp @@ -215,7 +215,7 @@ ], }, 'msvs_disabled_warnings': [ - 4018, 4244, + 4018, 4244, ], 'conditions': [ ['OS=="win"', { @@ -223,6 +223,15 @@ }, { # else: OS!="win" 'sources/': [['exclude', '_(w32|win)\\.cc?$']], }], + ['OS=="linux"', { + 'cflags': [ + # SQLite doesn't believe in compiler warnings, + # preferring testing. + # http://www.sqlite.org/faq.html#q17 + '-Wno-int-to-pointer-cast', + '-Wno-pointer-to-int-cast', + ], + }], ], }], ], |