Mesa (master): scons: define DRAW_LLVM if we're building it

Zack Rusin zack at kemper.freedesktop.org
Wed Apr 7 02:36:40 UTC 2010


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

Author: Zack Rusin <zackr at vmware.com>
Date:   Tue Apr  6 22:41:11 2010 -0400

scons: define DRAW_LLVM if we're building it

---

 SConstruct |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/SConstruct b/SConstruct
index d9230bd..56d88cc 100644
--- a/SConstruct
+++ b/SConstruct
@@ -88,6 +88,8 @@ if drawllvm:
         env.Tool('llvm')
         if not env.has_key('LLVM_VERSION'):
            drawllvm = False
+if drawllvm:
+        env.Append(CFLAGS = ['-DDRAW_LLVM=1'])
 
 # derived options
 x86 = machine == 'x86'




More information about the mesa-commit mailing list