Index: gyp/microhttpd.gyp |
diff --git a/gyp/microhttpd.gyp b/gyp/microhttpd.gyp |
index 378d9a089e74a9cfc4def9c10b9ac2aee690f774..3590cc192231d3c2df7da7aba7a15b810306780b 100644 |
--- a/gyp/microhttpd.gyp |
+++ b/gyp/microhttpd.gyp |
@@ -31,6 +31,15 @@ |
'../third_party/externals/microhttpd/src/microhttpd/response.c', |
'../third_party/externals/microhttpd/src/microhttpd/tsearch.c', |
], |
+ 'variables': { |
+ 'skia_microhttpd_flags' : [ |
+ '-Wno-sign-compare', |
+ '-Wno-unused-const-variable', |
+ '-Wno-tautological-constant-out-of-range-compare', |
+ ], |
+ }, |
+ 'cflags': [ '<@(skia_microhttpd_flags)' ], |
+ 'xcode_settings': { 'WARNING_CFLAGS': [ '<@(skia_microhttpd_flags)' ], }, |
'conditions': [ |
# For each platform, run configure and scrape the generated MHD_config.h |
# to get a list of platform specific defines |