[Mesa-dev] [PATCH] scons: Don't set visibility to hidden on Haiku
Alexander von Gluck
kallisti5 at unixzen.com
Mon Jan 16 15:52:04 PST 2012
The Haiku swrast driver is out of tree and this causes issues.
---
scons/gallium.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 5a0c6fe..86adc3e 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
--
1.7.7.2
More information about the mesa-dev
mailing list