scons: define DRAW_LLVM if we're building it
authorZack Rusin <zackr@vmware.com>
Wed, 7 Apr 2010 02:41:11 +0000 (22:41 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 7 Apr 2010 02:41:11 +0000 (22:41 -0400)
SConstruct

index d9230bd90412160228502875707dde0fcde80e59..56d88cc1cc08f1fc8d445cb8b0ad90c74370937f 100644 (file)
@@ -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'