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/gallium/drivers | |
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/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/svga/SConscript | 4 |
1 files changed, 4 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']) |