From 016897cc66449c6ce55d3088fcc2a37ecd7d70a2 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 19 Oct 2012 19:33:11 -0700 Subject: scons: Do not use -fvisibilty=hidden on Cygwin. This is a follow-up to commit db78643182dc39ed592dd8c2e5fc7c8eeb7316a1. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scons/gallium.py') 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 -- cgit v1.2.3