Index: gyp/lua.gyp |
diff --git a/gyp/lua.gyp b/gyp/lua.gyp |
index e0ad23a02242563438391229ea0c7a9f65e3029f..56080e47fa55318d3ec24a4ca36624daf90ad488 100644 |
--- a/gyp/lua.gyp |
+++ b/gyp/lua.gyp |
@@ -59,16 +59,15 @@ |
'defines': [ |
"getlocaledecpoint()='.'", |
], |
- 'cflags': [ |
- '-Wno-parentheses-equality', |
- '-Wno-pointer-bool-conversion', |
- ], |
- 'xcode_settings': { |
- 'WARNING_CFLAGS': [ |
+ 'variables': { |
+ 'skia_lua_flags' : [ |
'-Wno-parentheses-equality', |
'-Wno-pointer-bool-conversion', |
+ '-Wno-array-bounds', |
], |
}, |
+ 'cflags': [ '<@(skia_lua_flags)' ], |
+ 'xcode_settings': { 'WARNING_CFLAGS': [ '<@(skia_lua_flags)' ], }, |
'conditions': [ |
['skia_os != "win"', |
{ |