diff options
author | marha <marha@users.sourceforge.net> | 2012-01-20 09:35:29 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-01-20 09:35:29 +0100 |
commit | a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8 (patch) | |
tree | 8bc980551565964e13d046f54ee3876ba2bb7f14 /mesalib/scons/gallium.py | |
parent | 34c1e86406451a3604de4982339058088434ab40 (diff) | |
download | vcxsrv-a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8.tar.gz vcxsrv-a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8.tar.bz2 vcxsrv-a8ef69cc0c9e5281e6b745dd4a2be75f629eb8b8.zip |
xserver xkeyboard-config git update 20 jan 2012
Diffstat (limited to 'mesalib/scons/gallium.py')
-rw-r--r-- | mesalib/scons/gallium.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |