summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2012-10-19 19:33:11 -0700
committerVinson Lee <[email protected]>2012-10-23 23:22:45 -0700
commit016897cc66449c6ce55d3088fcc2a37ecd7d70a2 (patch)
tree71ac1f1f61f45d5ab0da1f04ef4f132dab1ea901 /scons/gallium.py
parent3e3ff4cd736ee881d37cfe4d40e540db503b41a5 (diff)
scons: Do not use -fvisibilty=hidden on Cygwin.
This is a follow-up to commit db78643182dc39ed592dd8c2e5fc7c8eeb7316a1. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index c3f33a05a38..bba3f01791f 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -368,7 +368,7 @@ def generate(env):
ccflags += ['-m64']
if platform == 'darwin':
ccflags += ['-fno-common']
- if env['platform'] not in ('windows', 'haiku'):
+ if env['platform'] not in ('cygwin', 'haiku', 'windows'):
ccflags += ['-fvisibility=hidden']
# See also:
# - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html