From: José Fonseca Date: Fri, 11 Dec 2009 12:08:32 +0000 (+0000) Subject: scons: Pass -fno-strict-aliasing to gcc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2937a2f4ecf22a5a4242cd0a350f20228f50232;p=mesa.git 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). --- 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',