summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-06-11 18:43:58 -0700
committerVinson Lee <[email protected]>2010-06-11 18:43:58 -0700
commite0b211d07c60d7ae8819c5ce6f00c96f2393cb8a (patch)
tree85e7d7c374624efc74e887d9fd0a55781cccf8ad /src/gallium/drivers/i965
parentde514850009385f11a05698b0b011837b68092a0 (diff)
scons: Disable i965g build if using MSVC.
i965g uses C99 constructs that are not supported by MSVC.
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/SConscript b/src/gallium/drivers/i965/SConscript
index 019af682f68..119f914a16d 100644
--- a/src/gallium/drivers/i965/SConscript
+++ b/src/gallium/drivers/i965/SConscript
@@ -2,6 +2,10 @@ Import('*')
env = env.Clone()
+if msvc:
+ print 'warning: not building i965g'
+ Return();
+
i965 = env.ConvenienceLibrary(
target = 'i965',
source = [