svga: Set MSVC2013 compat flags.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 4 Mar 2015 14:25:54 +0000 (14:25 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Wed, 4 Mar 2015 15:12:19 +0000 (15:12 +0000)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/Makefile.am
src/gallium/drivers/svga/SConscript

index 50d44cff84a4d0908c1cd69a33502b6eae8f4e94..e0a8cad7208c39d35da3cc47db292a24899b4825 100644 (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
index 2051a3e0a87530f9311f9781747b88889ec6b70b..bb4d034f1ebbff70483cdbf58554bf211afd4ac7 100644 (file)
@@ -2,6 +2,8 @@ Import('*')
 
 env = env.Clone()
 
+env.MSVC2013Compat()
+
 if env['suncc']:
        print 'warning: not building svga'
        Return()