scons: Fix sunos5 build.

This commit is contained in:
Vinson Lee 2010-07-27 18:13:47 -07:00
parent 641c9adb09
commit b172aebfdf
2 changed files with 6 additions and 0 deletions

View file

@ -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',

View file

@ -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',