summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2012-07-31 22:55:39 -0700
committerVinson Lee <[email protected]>2012-08-01 21:28:47 -0700
commit8734584952ea257d53ce421959bd9706345f221f (patch)
tree21579adb5f3027d62dc215e0b26a56a0aa52d05b /src/gallium/winsys
parent204bfb904bd5d4dd9ce90fe4d3e8e48b0d01fdae (diff)
scons: Add support for Intel Compiler.
The patch makes the SCons build with Intel Compiler successful. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-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 2d511d2bb5e..fea9df36824 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'] or env['clang']:
+if env['gcc'] or env['clang'] or env['icc']:
env.Append(CCFLAGS = ['-fvisibility=hidden'])
env.Append(CPPDEFINES = [
'HAVE_STDINT_H',