From a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 20 Jan 2012 09:35:29 +0100 Subject: xserver xkeyboard-config git update 20 jan 2012 --- mesalib/scons/gallium.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mesalib/scons/gallium.py') diff --git a/mesalib/scons/gallium.py b/mesalib/scons/gallium.py index 221d1848f..86adc3e6a 100644 --- a/mesalib/scons/gallium.py +++ b/mesalib/scons/gallium.py @@ -289,6 +289,8 @@ def generate(env): cppdefines += ['_DEBUG'] if platform == 'windows': cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_USER'] + if platform == 'haiku': + cppdefines += ['BEOS_THREADS'] if env['embedded']: cppdefines += ['PIPE_SUBSYSTEM_EMBEDDED'] env.Append(CPPDEFINES = cppdefines) @@ -348,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 -- cgit v1.2.3