summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/unit')
-rw-r--r--src/gallium/tests/unit/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript
index a0ad58ffa2e..edc68e34d9e 100644
--- a/src/gallium/tests/unit/SConscript
+++ b/src/gallium/tests/unit/SConscript
@@ -4,9 +4,12 @@ env = env.Clone()
env.Prepend(LIBS = [gallium])
-if platform == 'sunos5':
+if platform in ('freebsd8', 'sunos5'):
env.Append(LIBS = ['m'])
+if platform == 'freebsd8':
+ env.Append(LIBS = ['pthread'])
+
progs = [
'pipe_barrier_test',
'u_cache_test',