From: Alexander von Gluck IV Date: Mon, 16 Jan 2012 17:44:43 +0000 (+0000) Subject: scons: Don't set visibility to hidden on Haiku X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=183133271c04c551f41d87baae17356ad4e9b384;p=mesa.git scons: Don't set visibility to hidden on Haiku The Haiku swrast driver is out of tree. --- diff --git a/scons/gallium.py b/scons/gallium.py index 5a0c6fef13c..86adc3e6a26 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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