aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/haiku-softpipe/SConscript
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2013-10-06 15:41:54 +0000
committerAlexander von Gluck IV <[email protected]>2013-10-10 19:28:23 -0500
commit0fda1cb498b1308f09679b1947fd038f680dffb8 (patch)
treee966a275b537014117fbd98c7691468b85cb3d50 /src/gallium/targets/haiku-softpipe/SConscript
parent69508950da30a1319d2a7063226c4316bfd01e3c (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 <[email protected]>
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/SConscript')
-rw-r--r--src/gallium/targets/haiku-softpipe/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript
index 3a16c3174c4..40bf03cf413 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,