summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2010-04-06 22:41:11 -0400
committerZack Rusin <zackr@vmware.com>2010-04-06 22:41:11 -0400
commitc60a161cc5c92b495007cbd3f709a5b9405e019a (patch)
tree857b369da9e4eb729d7b1506b35edd30387fb3ce /SConstruct
parent1570760a9756234978ff56a9db4c781a630fe6ce (diff)
downloadexternal_mesa3d-c60a161cc5c92b495007cbd3f709a5b9405e019a.zip
external_mesa3d-c60a161cc5c92b495007cbd3f709a5b9405e019a.tar.gz
external_mesa3d-c60a161cc5c92b495007cbd3f709a5b9405e019a.tar.bz2
scons: define DRAW_LLVM if we're building it
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index d9230bd..56d88cc 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'