summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py1
1 files changed, 1 insertions, 0 deletions
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',