svga: Set MSVC2013 compat flags.

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Jose Fonseca 2015-03-04 14:25:54 +00:00
parent 2c25008e8e
commit d0b1c74b73
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,8 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
$(GALLIUM_DRIVER_CFLAGS)
$(GALLIUM_DRIVER_CFLAGS) \
$(MSVC2013_COMPAT_CFLAGS)
#On some systems -std= must be added to CFLAGS to be the last -std=
CFLAGS += -std=gnu99

View File

@ -2,6 +2,8 @@ Import('*')
env = env.Clone()
env.MSVC2013Compat()
if env['suncc']:
print 'warning: not building svga'
Return()