From ee99647e02fe5b947838cfea276f095775eb1537 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 16 Jun 2012 10:55:20 -0700 Subject: 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 Reviewed-by: Brian Paul --- src/gallium/drivers/svga/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/svga/SConscript') 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']) -- cgit v1.2.3