Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index e95efab42161e09983192743e7a563b6ec727cbf..4baa88707c9b7dec68fe591af7ed9fb6a7d67104 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2330,6 +2330,10 @@ |
'-Wno-deprecated', |
], |
'cflags': [ |
+ # Do not assume the code is strict-aliasing-safe. This can induce |
+ # strange crashes, and we ignore warnings in third-party code. |
+ # The reference bug for this is http://crbug.com/32204 . |
+ '-fno-strict-aliasing', |
# Don't warn about printf format problems. |
# This is off by default in gcc but on in Ubuntu's gcc(!). |
'-Wno-format', |
@@ -2753,7 +2757,6 @@ |
'<(werror)', # See note above about the werror variable. |
'-pthread', |
'-fno-exceptions', |
- '-fno-strict-aliasing', # See http://crbug.com/32204 |
'-Wall', |
# TODO(evan): turn this back on once all the builds work. |
# '-Wextra', |