summaryrefslogtreecommitdiff
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-06-16 10:55:20 -0700
committerVinson Lee <vlee@freedesktop.org>2012-06-18 16:37:46 -0700
commitee99647e02fe5b947838cfea276f095775eb1537 (patch)
treeee9b742ec22e65d70bec7ce6e4c2494fc4775e1f /src/gallium/targets
parent5b83bdc154ec8d607a4c4d96171d0128e51abaec (diff)
scons: Do not build svga if using Solaris Studio C compiler.
Solaris Studio C compiler does not support anonymous structs and anonymous unions. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri-vmwgfx/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-vmwgfx/SConscript b/src/gallium/targets/dri-vmwgfx/SConscript
index e758b493f89..0d19944f5c0 100644
--- a/src/gallium/targets/dri-vmwgfx/SConscript
+++ b/src/gallium/targets/dri-vmwgfx/SConscript
@@ -2,6 +2,10 @@ Import('*')
env = drienv.Clone()
+if env['suncc']:
+ print 'warning: not building dri-vmwgfx'
+ Return()
+
if env['build'] == 'release':
env.Append(CPPDEFINES = ['GALLIUM_RBUG'])
env.Prepend(LIBS = [rbug])