path: root/scons/
diff options
authorJosé Fonseca <>2009-12-11 12:08:32 +0000
committerJosé Fonseca <>2009-12-11 12:28:53 +0000
commita2937a2f4ecf22a5a4242cd0a350f20228f50232 (patch)
tree76d0517c15e3d8019c43d983b90ff2b6bbc8d602 /scons/
parent8c981b94dc0ff30fe2b2786b1d5671be7d1610b7 (diff)
scons: Pass -fno-strict-aliasing to gcc.
Strict aliasing tule violations were fixed on master, but they're still causing problem in this branch, so disable this assumptions. Do not apply this fix to master (revert when you merge).
Diffstat (limited to 'scons/')
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/ b/scons/
index ca1ca5153e7..0e5de0d0f8e 100644
--- a/scons/
+++ b/scons/
@@ -370,6 +370,7 @@ def generate(env):
'-fmessage-length=0', # be nice to Eclipse
+ '-fno-strict-aliasing', # we violate strict pointer aliasing rules
cflags += [