Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index d81c56765b1599441acc6bd3ef49a422769b909c..66294115636fcab476cdc6928c45540161ce0cb2 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1234,6 +1234,13 @@ |
['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, |
{'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} |
], |
+ ['clang==1', { |
Mark Mentovai
2010/09/22 16:38:36
Do we need this for anything else in the Mac build
Nico
2010/09/22 16:41:08
There's more: gtest.gyp and skia.gyp check this an
|
+ 'WARNING_CFLAGS': [ |
+ # Don't die on dtoa code that uses a char as an array index. |
+ # This is required solely for base/third_party/dmg_fp/dtoa.cc. |
+ '-Wno-char-subscripts', |
+ ], |
+ }], |
], |
}, |
'target_conditions': [ |