Browse Source

svga: Trim the dri binary a bit on scons release builds

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
tags/mesa-8.0-rc1
Jakob Bornecrantz 13 years ago
parent
commit
cc1d8a466a
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/gallium/targets/dri-vmwgfx/SConscript

+ 5
- 1
src/gallium/targets/dri-vmwgfx/SConscript View File

@@ -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,

Loading…
Cancel
Save