From: Vinson Lee Date: Sat, 20 Oct 2012 02:33:11 +0000 (-0700) Subject: scons: Do not use -fvisibilty=hidden on Cygwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=016897cc66449c6ce55d3088fcc2a37ecd7d70a2;p=mesa.git 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 --- 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