summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 04:37:29 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 04:37:29 +0000
commitef8c3cf92c861312add2f43c3427eff8ce98ecda (patch)
tree8306d1d2df000ac4072408466fd265c5981958bb /build
parentdb3b2562479a83a99a5fdcdcdb99c130048e7056 (diff)
downloadchromium_src-ef8c3cf92c861312add2f43c3427eff8ce98ecda.zip
chromium_src-ef8c3cf92c861312add2f43c3427eff8ce98ecda.tar.gz
chromium_src-ef8c3cf92c861312add2f43c3427eff8ce98ecda.tar.bz2
linux: remove no_strict_aliasing gyp variable
We won't build in -fstrict-aliasing mode anyway, so there's little point putting it behind a flag. Anyone who wanted to experiment with this could just as well edit the build file directly. BUG=32204 Review URL: http://codereview.chromium.org/9117017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi8
1 files changed, 1 insertions, 7 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 684d39b..183e5a0 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1654,8 +1654,6 @@
# Enable -Werror by default, but put it in a variable so it can
# be disabled in ~/.gyp/include.gypi on the valgrind builders.
'variables': {
- # Use -fno-strict-aliasing, see http://crbug.com/32204
- 'no_strict_aliasing%': 1,
'conditions': [
['OS=="linux"', {
'werror%': '-Werror',
@@ -1668,6 +1666,7 @@
'<(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',
@@ -2041,11 +2040,6 @@
'ADDRESS_SANITIZER',
],
}],
- ['no_strict_aliasing==1', {
- 'cflags': [
- '-fno-strict-aliasing',
- ],
- }],
['linux_breakpad==1', {
'cflags': [ '-g' ],
'defines': ['USE_LINUX_BREAKPAD'],