mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings
This commit is contained in:
parent
aef769207d
commit
8c5a108dc3
3 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue