scons: Disable i915g build if using MSVC.
authorVinson Lee <vlee@vmware.com>
Sat, 12 Jun 2010 01:42:08 +0000 (18:42 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 12 Jun 2010 01:42:57 +0000 (18:42 -0700)
i915g uses C99 constructs that are not supported by MSVC.

src/gallium/drivers/i915/SConscript

index 7b69681096da7aecc510382e6f8fa75d58013e76..d6e7a8dbd370c932059c2e44bd5a0fe82793867f 100644 (file)
@@ -2,6 +2,10 @@ Import('*')
 
 env = env.Clone()
 
+if msvc:
+       print 'warning: not building i915g'
+       Return()
+
 i915 = env.ConvenienceLibrary(
        target = 'i915',
        source = [