Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 50144f4e63ce5c421f6814a2eb6f8b0bbef59952..28fd7dfeb47d1d69a05eb4783d04c8ae85ae8554 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2324,6 +2324,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', |
@@ -2747,7 +2751,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', |