OSDN Git Service

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 019af68..119f914 100644 (file)
@@ -2,6 +2,10 @@ Import('*')
 
 env = env.Clone()
 
+if msvc:
+       print 'warning: not building i965g'
+       Return();
+
 i965 = env.ConvenienceLibrary(
        target = 'i965',
        source = [