Mesa (master): svga: Set MSVC2013 compat flags.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Mar 4 15:15:49 UTC 2015


Module: Mesa
Branch: master
Commit: d0b1c74b73ddc7590e81bdfd837f540d75b172ce
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0b1c74b73ddc7590e81bdfd837f540d75b172ce

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Wed Mar  4 14:25:54 2015 +0000

svga: Set MSVC2013 compat flags.

Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/drivers/svga/Makefile.am |    3 ++-
 src/gallium/drivers/svga/SConscript  |    2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am
index 50d44cf..e0a8cad 100644
--- a/src/gallium/drivers/svga/Makefile.am
+++ b/src/gallium/drivers/svga/Makefile.am
@@ -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
diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript
index 2051a3e..bb4d034 100644
--- a/src/gallium/drivers/svga/SConscript
+++ b/src/gallium/drivers/svga/SConscript
@@ -2,6 +2,8 @@ Import('*')
 
 env = env.Clone()
 
+env.MSVC2013Compat()
+
 if env['suncc']:
 	print 'warning: not building svga'
 	Return()




More information about the mesa-commit mailing list