From c60a161cc5c92b495007cbd3f709a5b9405e019a Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Tue, 6 Apr 2010 22:41:11 -0400 Subject: scons: define DRAW_LLVM if we're building it --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index d9230bd9041..56d88cc1cc0 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' -- cgit v1.2.3