From: Vinson Lee Date: Sat, 12 Jun 2010 01:42:08 +0000 (-0700) Subject: scons: Disable i915g build if using MSVC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de514850009385f11a05698b0b011837b68092a0;p=mesa.git scons: Disable i915g build if using MSVC. i915g uses C99 constructs that are not supported by MSVC. --- 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 = [