summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-vmwgfx
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2012-01-05 17:14:13 +0100
committerJakob Bornecrantz <jakob@vmware.com>2012-01-05 17:23:32 +0100
commitcc1d8a466a52ae89080f5dec06c1859235643532 (patch)
treefdcd1bd5771ff49e0f51adf7959a18a9b434b10a /src/gallium/targets/dri-vmwgfx
parent2bb9c6448949d105cd95ac5b72c73efc1f960a63 (diff)
downloadexternal_mesa3d-cc1d8a466a52ae89080f5dec06c1859235643532.zip
external_mesa3d-cc1d8a466a52ae89080f5dec06c1859235643532.tar.gz
external_mesa3d-cc1d8a466a52ae89080f5dec06c1859235643532.tar.bz2
svga: Trim the dri binary a bit on scons release builds
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src/gallium/targets/dri-vmwgfx')
-rw-r--r--src/gallium/targets/dri-vmwgfx/SConscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/targets/dri-vmwgfx/SConscript b/src/gallium/targets/dri-vmwgfx/SConscript
index 17dd021..e758b49 100644
--- 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,