From: Emil Velikov <emil.veli...@collabora.com>

Analogous to the other build systems.

Cc: Jose Fonseca <jfons...@vmware.com>
Cc: Brian Paul <bri...@vmware.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
 scons/gallium.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scons/gallium.py b/scons/gallium.py
index ef3b2ee81ae..74793a2525c 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -455,6 +455,7 @@ def generate(env):
         # - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
         ccflags += [
             '-Wall',
+            '-Wundef',
             '-Wno-long-long',
             '-fmessage-length=0', # be nice to Eclipse
         ]
-- 
2.14.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to