softpipe,trace: Set MSVC 2008 compat flags.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 4 Mar 2015 14:25:39 +0000 (14:25 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Wed, 4 Mar 2015 15:12:17 +0000 (15:12 +0000)
Although we don't deploy these, we need to use them for debugging.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/Makefile.am
src/gallium/drivers/softpipe/SConscript
src/gallium/drivers/trace/Makefile.am
src/gallium/drivers/trace/SConscript

index 20f11f8dd2d4bcc803e0b65a36df2e697538fefa..05126a5dbafb0975a457fed73a066dfecebb1459 100644 (file)
@@ -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
 
index 6768cbb5c7ee6b6e7034d688b59d3814f0f4715c..dc3542c51004b325ac15f6f0be53b28a026acb2e 100644 (file)
@@ -2,6 +2,7 @@ Import('*')
 
 env = env.Clone()
 
+env.MSVC2008Compat()
 
 softpipe = env.ConvenienceLibrary(
        target = 'softpipe',
index db7b4491800784285e0588d6c55f02416aad3947..6a8a74a9103b54a8c56f77d5314475b330575321 100644 (file)
@@ -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
 
index 7341d1c1c1d69cc6da3f6c4eef79083f92dd11ab..1bbed73903dd8488ad72160be5071e720bba9eaa 100644 (file)
@@ -2,6 +2,8 @@ Import('*')
 
 env = env.Clone()
 
+env.MSVC2008Compat()
+
 trace = env.ConvenienceLibrary(
     target = 'trace',
     source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')