Module: Mesa
Branch: mesa_7_7_branch
Commit: acc51ac0ace11bb375241467ba35e1014f5fb997
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=acc51ac0ace11bb375241467ba35e1014f5fb997

Author: Jakob Bornecrantz <[email protected]>
Date:   Tue Nov 24 01:14:03 2009 +0100

svga: Filter out pendantic and ansi flags

Rather have the driver compile without the flags then
having to disable them.

---

 src/gallium/drivers/svga/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/svga/Makefile 
b/src/gallium/drivers/svga/Makefile
index d141331..8158364 100644
--- a/src/gallium/drivers/svga/Makefile
+++ b/src/gallium/drivers/svga/Makefile
@@ -50,6 +50,9 @@ C_SOURCES = \
 LIBRARY_INCLUDES = \
        -I$(TOP)/src/gallium/drivers/svga/include
 
+# With linux-debug we get a lots of warnings, filter out the bad flags.
+CFLAGS := $(filter-out -pedantic, $(filter-out -ansi, $(CFLAGS)))
+
 LIBRARY_DEFINES = \
        -std=gnu99 -fvisibility=hidden \
        -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to