projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
326b66d
)
svga: Filter out pendantic and ansi flags
author
Jakob Bornecrantz
<jakob@vmware.com>
Tue, 24 Nov 2009 00:14:03 +0000
(
01:14
+0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Tue, 24 Nov 2009 00:16:17 +0000
(
01:16
+0100)
Rather have the driver compile without the flags then
having to disable them.
src/gallium/drivers/svga/Makefile
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/Makefile
b/src/gallium/drivers/svga/Makefile
index d1413319c97d8179b94376ea344b2e1df04be0b1..8158364d252cecd86e546b64371f5f12c8ac7fbb 100644
(file)
--- 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