diff options
author | Vinson Lee <[email protected]> | 2012-06-16 10:55:20 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-06-18 16:37:46 -0700 |
commit | ee99647e02fe5b947838cfea276f095775eb1537 (patch) | |
tree | ee9b742ec22e65d70bec7ce6e4c2494fc4775e1f /src | |
parent | 5b83bdc154ec8d607a4c4d96171d0128e51abaec (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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/SConscript | 4 | ||||
-rw-r--r-- | src/gallium/targets/dri-vmwgfx/SConscript | 4 |
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]) |