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']
|
ccflags += ['-m64']
|
||||||
if platform == 'darwin':
|
if platform == 'darwin':
|
||||||
ccflags += ['-fno-common']
|
ccflags += ['-fno-common']
|
||||||
if env['platform'] not in ('windows', 'haiku'):
|
if env['platform'] not in ('cygwin', 'haiku', 'windows'):
|
||||||
ccflags += ['-fvisibility=hidden']
|
ccflags += ['-fvisibility=hidden']
|
||||||
# See also:
|
# See also:
|
||||||
# - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
# - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
||||||
|
Reference in New Issue
Block a user