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

src/gallium/drivers/i965/SConscript

index 019af682f68f044c90990ead8ba24f8e0450fa24..119f914a16dcbc687c27fa17a9f401b95c5f1341 100644 (file)
@@ -2,6 +2,10 @@ Import('*')
 
 env = env.Clone()
 
+if msvc:
+       print 'warning: not building i965g'
+       Return();
+
 i965 = env.ConvenienceLibrary(
        target = 'i965',
        source = [