summaryrefslogtreecommitdiff
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-07-27 18:13:47 -0700
committerVinson Lee <vlee@vmware.com>2010-07-27 18:13:47 -0700
commitb172aebfdf288d3487876f7cb01c62582920d4c2 (patch)
tree5c4d398646cf9fefa6b8cd9ac20b25b0608ea9ec /src/gallium/tests
parent641c9adb09e8707f659d42be600d16902ebf8895 (diff)
scons: Fix sunos5 build.
Diffstat (limited to 'src/gallium/tests')
-rw-r--r--src/gallium/tests/graw/SConscript3
-rw-r--r--src/gallium/tests/unit/SConscript3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript
index 61121732e3..7e39ec21a4 100644
--- a/src/gallium/tests/graw/SConscript
+++ b/src/gallium/tests/graw/SConscript
@@ -11,6 +11,9 @@ env = env.Clone()
env.Prepend(LIBPATH = [graw.dir])
env.Prepend(LIBS = ['graw'] + gallium)
+if platform == 'sunos5':
+ env.Append(LIBS = ['m'])
+
progs = [
'clear',
'tri',
diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript
index 8a9f3504c7..a200123f44 100644
--- a/src/gallium/tests/unit/SConscript
+++ b/src/gallium/tests/unit/SConscript
@@ -4,6 +4,9 @@ env = env.Clone()
env.Prepend(LIBS = [gallium])
+if platform == 'sunos5':
+ env.Append(LIBS = ['m'])
+
progs = [
'pipe_barrier_test',
'u_cache_test',