From 4f109ca4e8ca2c1f0a60b52fa79dd907777e8bee Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 24 Jul 2012 23:02:18 -0700 Subject: scons: Fix build with clang. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- src/gallium/winsys/svga/drm/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript index ee782c8b031..2d511d2bb5e 100644 --- a/src/gallium/winsys/svga/drm/SConscript +++ b/src/gallium/winsys/svga/drm/SConscript @@ -4,7 +4,7 @@ env = env.Clone() env.PkgUseModules('DRM') -if env['gcc']: +if env['gcc'] or env['clang']: env.Append(CCFLAGS = ['-fvisibility=hidden']) env.Append(CPPDEFINES = [ 'HAVE_STDINT_H', -- cgit v1.2.3