svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings

This commit is contained in:
Jakob Bornecrantz 2009-11-17 09:07:15 +01:00
parent aef769207d
commit 8c5a108dc3
3 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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',

View file

@ -3,7 +3,7 @@ Import('*')
env = env.Clone()
if env['gcc']:
env.Append(CCFLAGS = ['-fvisibility=hidden', '-Werror'])
env.Append(CCFLAGS = ['-fvisibility=hidden'])
env.Append(CPPDEFINES = [
'HAVE_STDINT_H',
'HAVE_SYS_TYPES_H',