Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1966)

Unified Diff: pylib/gyp/xcode_emulation.py

Issue 10451028: Add support for GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO to xcode emulation. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: grrrr Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mac/gyptest-xcode-gcc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = []
« no previous file with comments | « no previous file | test/mac/gyptest-xcode-gcc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698