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).
This commit is contained in:
José Fonseca 2009-12-11 12:08:32 +00:00
parent 8c981b94dc
commit a2937a2f4e
1 changed files with 1 additions and 0 deletions

View File

@ -370,6 +370,7 @@ def generate(env):
'-Wno-long-long',
'-ffast-math',
'-fmessage-length=0', # be nice to Eclipse
'-fno-strict-aliasing', # we violate strict pointer aliasing rules
]
cflags += [
'-Werror=declaration-after-statement',