Index: pylib/gyp/xcode_emulation.py |
=================================================================== |
--- pylib/gyp/xcode_emulation.py (revision 1393) |
+++ pylib/gyp/xcode_emulation.py (working copy) |
@@ -360,6 +360,8 @@ |
cflags_cc.append('-fvisibility-inlines-hidden') |
if self._Test('GCC_THREADSAFE_STATICS', 'NO', default='YES'): |
cflags_cc.append('-fno-threadsafe-statics') |
+ if self._Test('GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO', 'NO', default='YES'): |
+ cflags_cc.append('-Wno-invalid-offsetof') |
other_ccflags = [] |