Mesa (master): scons: Don't set visibility to hidden on Haiku

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Jan 17 20:03:17 UTC 2012


Module: Mesa
Branch: master
Commit: 183133271c04c551f41d87baae17356ad4e9b384
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=183133271c04c551f41d87baae17356ad4e9b384

Author: Alexander von Gluck IV <kallisti5 at unixzen.com>
Date:   Mon Jan 16 17:44:43 2012 +0000

scons: Don't set visibility to hidden on Haiku

The Haiku swrast driver is out of tree.

---

 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




More information about the mesa-commit mailing list