summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2012-01-16 17:44:43 +0000
committerJosé Fonseca <[email protected]>2012-01-17 20:02:41 +0000
commit183133271c04c551f41d87baae17356ad4e9b384 (patch)
treec3be3a084523e0dd0f75873dcae48ea0a411e502 /scons/gallium.py
parent64ae209d50e2d28f46a3f0c6880e40e94ba23569 (diff)
scons: Don't set visibility to hidden on Haiku
The Haiku swrast driver is out of tree.
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
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