scons: define DRAW_LLVM if we're building it
This commit is contained in:
@@ -88,6 +88,8 @@ if drawllvm:
|
|||||||
env.Tool('llvm')
|
env.Tool('llvm')
|
||||||
if not env.has_key('LLVM_VERSION'):
|
if not env.has_key('LLVM_VERSION'):
|
||||||
drawllvm = False
|
drawllvm = False
|
||||||
|
if drawllvm:
|
||||||
|
env.Append(CFLAGS = ['-DDRAW_LLVM=1'])
|
||||||
|
|
||||||
# derived options
|
# derived options
|
||||||
x86 = machine == 'x86'
|
x86 = machine == 'x86'
|
||||||
|
Reference in New Issue
Block a user