diff options
author | Alexander von Gluck IV <kallisti5@unixzen.com> | 2013-10-06 15:41:54 +0000 |
---|---|---|
committer | Alexander von Gluck IV <kallisti5@unixzen.com> | 2013-10-10 19:28:23 -0500 |
commit | 0fda1cb498b1308f09679b1947fd038f680dffb8 (patch) | |
tree | e966a275b537014117fbd98c7691468b85cb3d50 /src/gallium/targets/haiku-softpipe/SConscript | |
parent | 69508950da30a1319d2a7063226c4316bfd01e3c (diff) |
haiku: Fix llvmpipe and clean up softpipe tracing
* Fix LLVM library and defines
* Only enable tracing when scons build=debug
Acked-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/SConscript')
-rw-r--r-- | src/gallium/targets/haiku-softpipe/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript index 3a16c3174c..40bf03cf41 100644 --- a/src/gallium/targets/haiku-softpipe/SConscript +++ b/src/gallium/targets/haiku-softpipe/SConscript @@ -26,7 +26,8 @@ env.Append(CPPPATH = [ ]) if env['llvm']: - env.Append(CPPDEFINES = 'HAVE_LLVMPIPE') + env.Append(CPPDEFINES = ['GALLIUM_LLVMPIPE']) + env.Prepend(LIBS = [llvmpipe]) softpipe_sources = [ 'GalliumContext.cpp', @@ -34,7 +35,7 @@ softpipe_sources = [ 'SoftwareRenderer.cpp' ] -# libswpipe gets turned into "Software Renderer" by the haiku package system +# libswpipe gets turned into "Softpipe" by the haiku package system module = env.LoadableModule( target ='swpipe', source = softpipe_sources, |