[Mesa-dev] [PATCH] scons: Do not use -fvisibilty=hidden on Cygwin.
Vinson Lee
vlee at freedesktop.org
Fri Oct 19 22:23:47 PDT 2012
This is a follow-up to commit db78643182dc39ed592dd8c2e5fc7c8eeb7316a1.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
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
--
1.7.9
More information about the mesa-dev
mailing list