aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-03-04 14:25:39 +0000
committerJose Fonseca <[email protected]>2015-03-04 15:12:17 +0000
commit2c25008e8e37a41fa61988b7fb65b524cbb7e64f (patch)
tree4ca8782e8ccb41b78a637047d692930d06f9c4a4 /src/gallium/drivers/softpipe
parent00faf9f00059370bc20ebeaf00884c2d8ef15a74 (diff)
softpipe,trace: Set MSVC 2008 compat flags.
Although we don't deploy these, we need to use them for debugging. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/Makefile.am3
-rw-r--r--src/gallium/drivers/softpipe/SConscript1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/Makefile.am b/src/gallium/drivers/softpipe/Makefile.am
index 20f11f8dd2d..05126a5dbaf 100644
--- a/src/gallium/drivers/softpipe/Makefile.am
+++ b/src/gallium/drivers/softpipe/Makefile.am
@@ -24,7 +24,8 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS)
+ $(GALLIUM_DRIVER_CFLAGS) \
+ $(MSVC2008_COMPAT_CFLAGS)
noinst_LTLIBRARIES = libsoftpipe.la
diff --git a/src/gallium/drivers/softpipe/SConscript b/src/gallium/drivers/softpipe/SConscript
index 6768cbb5c7e..dc3542c5100 100644
--- a/src/gallium/drivers/softpipe/SConscript
+++ b/src/gallium/drivers/softpipe/SConscript
@@ -2,6 +2,7 @@ Import('*')
env = env.Clone()
+env.MSVC2008Compat()
softpipe = env.ConvenienceLibrary(
target = 'softpipe',