summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 99025df..fed9d96 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -354,6 +354,7 @@
# be disabled in ~/.gyp/include.gypi on the valgrind builders.
'variables': {
'werror%': '-Werror',
+ 'no_strict_aliasing%': 0,
},
'cflags': [
'<(werror)', # See note above about the werror variable.
@@ -539,6 +540,11 @@
}],
],
}],
+ ['no_strict_aliasing==1', {
+ 'cflags': [
+ '-fno-strict-aliasing',
+ ],
+ }],
],
},
}],