summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-11-01 14:24:08 +0000
committerJosé Fonseca <[email protected]>2010-11-01 14:24:08 +0000
commitab9ca6caa8e8b0c886317fce694460ea23bcf8b9 (patch)
tree9d7fe941b35db1bc28c0c201ac8fb52fa2958a5f
parentf9156ebcc4b26c5213750d4a9d032d65b60c9224 (diff)
scons: Some pipe drivers are not portable for MSVC
-rw-r--r--src/gallium/SConscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/SConscript b/src/gallium/SConscript
index 76f9ffb58ab..1b41c39a460 100644
--- a/src/gallium/SConscript
+++ b/src/gallium/SConscript
@@ -14,16 +14,21 @@ SConscript([
'drivers/failover/SConscript',
'drivers/galahad/SConscript',
'drivers/i915/SConscript',
- 'drivers/i965/SConscript',
'drivers/identity/SConscript',
'drivers/llvmpipe/SConscript',
'drivers/rbug/SConscript',
- 'drivers/r300/SConscript',
'drivers/softpipe/SConscript',
'drivers/svga/SConscript',
'drivers/trace/SConscript',
])
+if not env['msvc']:
+ # These drivers do not build on MSVC compilers
+ SConscript([
+ 'drivers/i965/SConscript',
+ 'drivers/r300/SConscript',
+ ])
+
if env['dri']:
# These drivers depend on drm headers
SConscript([