Mesa (master): scons: Do not use -fvisibilty=hidden on Cygwin.

Vinson Lee vlee at kemper.freedesktop.org
Wed Oct 24 06:23:05 UTC 2012


Module: Mesa
Branch: master
Commit: 016897cc66449c6ce55d3088fcc2a37ecd7d70a2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=016897cc66449c6ce55d3088fcc2a37ecd7d70a2

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Oct 19 19:33:11 2012 -0700

scons: Do not use -fvisibilty=hidden on Cygwin.

This is a follow-up to commit db78643182dc39ed592dd8c2e5fc7c8eeb7316a1.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 scons/gallium.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index c3f33a0..bba3f01 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




More information about the mesa-commit mailing list