svga: Set MSVC2013 compat flags.
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -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
|
||||
|
@@ -2,6 +2,8 @@ Import('*')
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.MSVC2013Compat()
|
||||
|
||||
if env['suncc']:
|
||||
print 'warning: not building svga'
|
||||
Return()
|
||||
|
Reference in New Issue
Block a user