summaryrefslogtreecommitdiff
path: root/src/gallium/tests/unit/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/unit/SConscript')
-rw-r--r--src/gallium/tests/unit/SConscript9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript
index 8a9f3504c7..edc68e34d9 100644
--- a/src/gallium/tests/unit/SConscript
+++ b/src/gallium/tests/unit/SConscript
@@ -4,11 +4,18 @@ env = env.Clone()
env.Prepend(LIBS = [gallium])
+if platform in ('freebsd8', 'sunos5'):
+ env.Append(LIBS = ['m'])
+
+if platform == 'freebsd8':
+ env.Append(LIBS = ['pthread'])
+
progs = [
'pipe_barrier_test',
'u_cache_test',
'u_format_test',
- 'u_half_test'
+ 'u_half_test',
+ 'translate_test'
]
for prog in progs: