Mesa (master): scons: Disable i915g build if using MSVC.

Vinson Lee vlee at kemper.freedesktop.org
Fri Jun 11 18:43:44 PDT 2010


Module: Mesa
Branch: master
Commit: de514850009385f11a05698b0b011837b68092a0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de514850009385f11a05698b0b011837b68092a0

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Jun 11 18:42:08 2010 -0700

scons: Disable i915g build if using MSVC.

i915g uses C99 constructs that are not supported by MSVC.

---

 src/gallium/drivers/i915/SConscript |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/i915/SConscript b/src/gallium/drivers/i915/SConscript
index 7b69681..d6e7a8d 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 = [



More information about the mesa-commit mailing list