scons: Don't set visibility to hidden on Haiku

The Haiku swrast driver is out of tree.
This commit is contained in:
Alexander von Gluck IV
2012-01-16 17:44:43 +00:00
committed by José Fonseca
parent 64ae209d50
commit 183133271c

View File

@@ -350,7 +350,7 @@ def generate(env):
ccflags += ['-m64']
if platform == 'darwin':
ccflags += ['-fno-common']
if env['platform'] != 'windows':
if env['platform'] not in ('windows', 'haiku'):
ccflags += ['-fvisibility=hidden']
# See also:
# - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html