| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 5b8695249089a1890c9dd6737e3e376a3c20d418..8b79110d5d2717ba2f858621a649dd79b3489893 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -580,7 +580,13 @@
|
| # Enable -Werror by default, but put it in a variable so it can
|
| # be disabled in ~/.gyp/include.gypi on the valgrind builders.
|
| 'variables': {
|
| - 'no_strict_aliasing%': 0,
|
| + # Use -fno-strict-aliasing by default since gcc 4.4 has periodic
|
| + # issues that slip through the cracks. We could do this just for
|
| + # gcc 4.4 but it makes more sense to be consistent on all
|
| + # compilers in use. TODO(Craig): turn this off again when
|
| + # there is some 4.4 test infrastructure in place and existing
|
| + # aliasing issues have been fixed.
|
| + 'no_strict_aliasing%': 1,
|
| 'conditions': [['OS=="linux"', {'werror%': '-Werror',}],
|
| ['OS=="freebsd"', {'werror%': '',}],
|
| ['OS=="openbsd"', {'werror%': '',}],
|
|
|