summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-11-17 09:07:15 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-11-17 11:24:39 +0100
commit8c5a108dc321c4760e6d70b1104493b5bd54e6de (patch)
tree39043eafbc9361a0a651aaadba70b589b84c5da8 /src/gallium/drivers
parentaef769207d3e554db8cc452d6ea3f678e5549cfb (diff)
svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/svga/Makefile2
-rw-r--r--src/gallium/drivers/svga/SConscript3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/svga/Makefile b/src/gallium/drivers/svga/Makefile
index 05ab4ab9b3..fe1d6d7384 100644
--- a/src/gallium/drivers/svga/Makefile
+++ b/src/gallium/drivers/svga/Makefile
@@ -57,7 +57,7 @@ CC = gcc -fvisibility=hidden -msse -msse2
# Set the gnu99 standard to enable anonymous structs in vmware headers.
#
-CFLAGS = -Wall -Werror -Wmissing-prototypes -std=gnu99 -ffast-math \
+CFLAGS = -Wall -Wmissing-prototypes -std=gnu99 -ffast-math \
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
include ../../Makefile.template
diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript
index 0fa745c9b8..ff9645fc03 100644
--- a/src/gallium/drivers/svga/SConscript
+++ b/src/gallium/drivers/svga/SConscript
@@ -10,9 +10,6 @@ if env['gcc']:
'HAVE_STDINT_H',
'HAVE_SYS_TYPES_H',
])
- if env['platform'] not in ['windows']:
- # The Windows headers cause many gcc warnings
- env.Append(CCFLAGS = ['-Werror'])
env.Prepend(CPPPATH = [
'include',