summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2012-01-16 12:42:05 +0000
committerJosé Fonseca <jfonseca@vmware.com>2012-01-17 20:01:14 +0000
commit64ae209d50e2d28f46a3f0c6880e40e94ba23569 (patch)
tree541e10e7fcfea05238fa6467b6423f15a478a437 /scons/gallium.py
parent4ba4853c0a613f771b44806cd5ce376838479802 (diff)
scons: Add Haiku build support
Enables building stock Mesa under the Haiku operating system.
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 221d1848f6d..5a0c6fef13c 100755
--- a/scons/gallium.py
+++ b/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)