From: Jose Fonseca Date: Wed, 4 Mar 2015 14:25:39 +0000 (+0000) Subject: softpipe,trace: Set MSVC 2008 compat flags. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c25008e8e37a41fa61988b7fb65b524cbb7e64f;p=mesa.git softpipe,trace: Set MSVC 2008 compat flags. Although we don't deploy these, we need to use them for debugging. Reviewed-by: Brian Paul --- 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', diff --git a/src/gallium/drivers/trace/Makefile.am b/src/gallium/drivers/trace/Makefile.am index db7b4491800..6a8a74a9103 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 7341d1c1c1d..1bbed73903d 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')