summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index ee22110311..31236c4b01 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -334,6 +334,7 @@ def generate(env):
'-Wall',
'-Wmissing-prototypes',
'-Wno-long-long',
+ '-Wdeclaration-after-statement',
'-ffast-math',
'-std=gnu99',
'-fmessage-length=0', # be nice to Eclipse