Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0fe8b73a27892551156cd5ee253a5398b17a5165..52b25b1bc5ae8eb5fc5aecd085a3fe94a4a7d1b6 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2694,6 +2694,14 @@ |
}, |
}, |
'conditions': [ |
+ # Don't warn about the "typedef 'foo' locally defined but not used" |
+ # for gcc 4.8. |
+ # TODO: remove this flag once all builds work. See crbug.com/227506 |
+ [ 'gcc_version>=48', { |
+ 'cflags': [ |
+ '-Wno-unused-local-typedefs', |
+ ], |
+ }], |
['target_arch=="ia32"', { |
'target_conditions': [ |
['_toolset=="target"', { |