diff options
author | Edouard Oger <eoger@fastmail.com> | 2019-08-23 17:33:04 +0000 |
---|---|---|
committer | Edouard Oger <eoger@fastmail.com> | 2019-08-23 17:33:04 +0000 |
commit | b3575fc9f17248996c115bcfa3b94e37d650f928 (patch) | |
tree | 5f38d15ba9b700dbe94eed03a41b4bf7fc6c5035 /lib/sqlite | |
parent | 61667b782d24a0d410bec878f64359d70327a9e3 (diff) | |
download | nss-hg-b3575fc9f17248996c115bcfa3b94e37d650f928.tar.gz |
Bug 1549847 - Ignore sqlite compilation warnings. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D43200
Diffstat (limited to 'lib/sqlite')
-rw-r--r-- | lib/sqlite/Makefile | 2 | ||||
-rw-r--r-- | lib/sqlite/sqlite.gyp | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/sqlite/Makefile b/lib/sqlite/Makefile index 91493687a..adae8e0ca 100644 --- a/lib/sqlite/Makefile +++ b/lib/sqlite/Makefile @@ -45,6 +45,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk # (7) Execute "local" rules. (OPTIONAL). # ####################################################################### +WARNING_CFLAGS = $(NULL) + export:: private_export ifeq (WINNT,$(OS_ARCH)) diff --git a/lib/sqlite/sqlite.gyp b/lib/sqlite/sqlite.gyp index 6969893d6..6a9ab3a2e 100644 --- a/lib/sqlite/sqlite.gyp +++ b/lib/sqlite/sqlite.gyp @@ -40,7 +40,15 @@ 'target_defaults': { 'defines': [ 'SQLITE_THREADSAFE=1' - ] + ], + 'cflags': [ + '-w', + ], + 'xcode_settings': { + 'OTHER_CFLAGS': [ + '-w', + ], + }, }, 'variables': { 'module': 'nss' |