summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-03-04 14:25:54 +0000
committerJose Fonseca <[email protected]>2015-03-04 15:12:19 +0000
commitd0b1c74b73ddc7590e81bdfd837f540d75b172ce (patch)
tree4e13e6e70f514db57286ec44fdecffb840b86d93 /src/gallium/drivers
parent2c25008e8e37a41fa61988b7fb65b524cbb7e64f (diff)
svga: Set MSVC2013 compat flags.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/svga/Makefile.am3
-rw-r--r--src/gallium/drivers/svga/SConscript2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am
index 50d44cff84a..e0a8cad7208 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 2051a3e0a87..bb4d034f1eb 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()