aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/SConscript4
-rw-r--r--src/gallium/targets/dri-vmwgfx/SConscript4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript
index 87903d89010..8ffeed56381 100644
--- a/src/gallium/drivers/svga/SConscript
+++ b/src/gallium/drivers/svga/SConscript
@@ -2,6 +2,10 @@ Import('*')
env = env.Clone()
+if env['suncc']:
+ print 'warning: not building svga'
+ Return()
+
if env['platform'] in ['linux']:
env.Append(CCFLAGS = ['-fvisibility=hidden'])
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])