From 183133271c04c551f41d87baae17356ad4e9b384 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 16 Jan 2012 17:44:43 +0000 Subject: [PATCH] scons: Don't set visibility to hidden on Haiku The Haiku swrast driver is out of tree. --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2