scons: define DRAW_LLVM if we're building it

This commit is contained in:
Zack Rusin
2010-04-06 22:41:11 -04:00
parent 1570760a97
commit c60a161cc5

View 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'