scons: Do not use -fvisibilty=hidden on Cygwin.
authorVinson Lee <vlee@freedesktop.org>
Sat, 20 Oct 2012 02:33:11 +0000 (19:33 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 24 Oct 2012 06:22:45 +0000 (23:22 -0700)
This is a follow-up to commit db78643182dc39ed592dd8c2e5fc7c8eeb7316a1.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
scons/gallium.py

index c3f33a05a38d35cd74013bc2982d1bd9f0cab136..bba3f01791f3b47be8d981f1662896863881adf8 100755 (executable)
@@ -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