From: Zack Rusin Date: Wed, 7 Apr 2010 02:41:11 +0000 (-0400) Subject: scons: define DRAW_LLVM if we're building it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c60a161cc5c92b495007cbd3f709a5b9405e019a;p=mesa.git scons: define DRAW_LLVM if we're building it --- 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'