diff options
author | Zack Rusin <zackr@vmware.com> | 2010-04-06 22:41:11 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2010-04-06 22:41:11 -0400 |
commit | c60a161cc5c92b495007cbd3f709a5b9405e019a (patch) | |
tree | 857b369da9e4eb729d7b1506b35edd30387fb3ce /SConstruct | |
parent | 1570760a9756234978ff56a9db4c781a630fe6ce (diff) |
scons: define DRAW_LLVM if we're building it
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
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' |