summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/svga/drm
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2012-07-24 23:02:18 -0700
committerVinson Lee <[email protected]>2012-07-25 17:04:30 -0700
commit4f109ca4e8ca2c1f0a60b52fa79dd907777e8bee (patch)
tree0b305c7b8a8954acdb9834e961b181297df3d104 /src/gallium/winsys/svga/drm
parentcc44aa77490e1360b099eb0b887266f434298b4f (diff)
scons: Fix build with clang.
Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga/drm')
-rw-r--r--src/gallium/winsys/svga/drm/SConscript2
1 files changed, 1 insertions, 1 deletions
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',