scons: Do not use -fvisibilty=hidden on Cygwin.
This is a follow-up to commit db78643182
.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user