summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-06-11 18:42:08 -0700
committerVinson Lee <[email protected]>2010-06-11 18:42:57 -0700
commitde514850009385f11a05698b0b011837b68092a0 (patch)
treef89ef94287bd7880d2f051a3600b98dfc7a6e4c9 /src/gallium
parent3eca311b725649cf8766253b57939359578cae66 (diff)
scons: Disable i915g build if using MSVC.
i915g uses C99 constructs that are not supported by MSVC.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i915/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/SConscript b/src/gallium/drivers/i915/SConscript
index 7b69681096d..d6e7a8dbd37 100644
--- a/src/gallium/drivers/i915/SConscript
+++ b/src/gallium/drivers/i915/SConscript
@@ -2,6 +2,10 @@ Import('*')
env = env.Clone()
+if msvc:
+ print 'warning: not building i915g'
+ Return()
+
i915 = env.ConvenienceLibrary(
target = 'i915',
source = [