summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index d81c567..66294115 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', {
+ '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': [