projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb9c64
)
svga: Trim the dri binary a bit on scons release builds
author
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 5 Jan 2012 16:14:13 +0000
(17:14 +0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 5 Jan 2012 16:23:32 +0000
(17:23 +0100)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/targets/dri-vmwgfx/SConscript
patch
|
blob
|
history
diff --git
a/src/gallium/targets/dri-vmwgfx/SConscript
b/src/gallium/targets/dri-vmwgfx/SConscript
index 17dd02105121688a724951e31a91b42de8021273..e758b493f892dceb58347f8b4ea7d930a4b6c472 100644
(file)
--- a/
src/gallium/targets/dri-vmwgfx/SConscript
+++ b/
src/gallium/targets/dri-vmwgfx/SConscript
@@
-2,10
+2,14
@@
Import('*')
env = drienv.Clone()
-if True:
+if env['build'] == 'release':
+ env.Append(CPPDEFINES = ['GALLIUM_RBUG'])
+ env.Prepend(LIBS = [rbug])
+else:
env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_RBUG', 'GALLIUM_GALAHAD', 'GALLIUM_SOFTPIPE'])
env.Prepend(LIBS = [trace, rbug, galahad, softpipe, ws_wrapper])
+
env.Prepend(LIBS = [
st_dri,
svgadrm,