From a2937a2f4ecf22a5a4242cd0a350f20228f50232 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 11 Dec 2009 12:08:32 +0000 Subject: 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). --- scons/gallium.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scons') diff --git a/scons/gallium.py b/scons/gallium.py index ca1ca5153e7..0e5de0d0f8e 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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', -- cgit v1.2.3