Index: gyp/libwebp.gyp |
diff --git a/gyp/libwebp.gyp b/gyp/libwebp.gyp |
index f5fda6b65db5f97208e6843709a974e71e613ef7..70fffdd925251c8c8fc7a2338c8c5e2898326850 100644 |
--- a/gyp/libwebp.gyp |
+++ b/gyp/libwebp.gyp |
@@ -165,9 +165,8 @@ |
'include_dirs': [ |
'../third_party/externals/libwebp/src', |
], |
- 'cflags': [ |
- '-Wno-unused-function', # In C++11 mode, we get this warning when including decode.h. |
- ] |
+ 'cflags': [ '-w' ], |
+ 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, |
}, |
'conditions': [ |
['OS!="win"', {'product_name': 'webp'}], |