[Mesa-dev] [PATCH 2/4] softpipe, trace: Set MSVC 2008 compat flags.
Jose Fonseca
jfonseca at vmware.com
Wed Mar 4 06:27:53 PST 2015
Although we don't deploy these, we need to use them for debugging.
---
src/gallium/drivers/softpipe/Makefile.am | 3 ++-
src/gallium/drivers/softpipe/SConscript | 1 +
src/gallium/drivers/trace/Makefile.am | 3 ++-
src/gallium/drivers/trace/SConscript | 2 ++
4 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/softpipe/Makefile.am b/src/gallium/drivers/softpipe/Makefile.am
index 20f11f8..05126a5 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 6768cbb..dc3542c 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',
diff --git a/src/gallium/drivers/trace/Makefile.am b/src/gallium/drivers/trace/Makefile.am
index db7b449..6a8a74a 100644
--- a/src/gallium/drivers/trace/Makefile.am
+++ b/src/gallium/drivers/trace/Makefile.am
@@ -2,7 +2,8 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- $(GALLIUM_DRIVER_CFLAGS)
+ $(GALLIUM_DRIVER_CFLAGS) \
+ $(MSVC2008_COMPAT_CFLAGS)
noinst_LTLIBRARIES = libtrace.la
diff --git a/src/gallium/drivers/trace/SConscript b/src/gallium/drivers/trace/SConscript
index 7341d1c..1bbed73 100644
--- a/src/gallium/drivers/trace/SConscript
+++ b/src/gallium/drivers/trace/SConscript
@@ -2,6 +2,8 @@ Import('*')
env = env.Clone()
+env.MSVC2008Compat()
+
trace = env.ConvenienceLibrary(
target = 'trace',
source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
--
2.1.0
More information about the mesa-dev
mailing list