X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Ftests%2Funit%2FSConscript;h=655e8a9b41cbfefaf7d43cc093e792493042beae;hb=b2ddb93ff3b8c88682634ccdef247967e31fab84;hp=364eb662077e4c51e936212d37ef0ddba58e856c;hpb=c8efed89ba740fe06a8207ae17520a4db38c96a7;p=mesa.git diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript index 364eb662077..655e8a9b41c 100644 --- a/src/gallium/tests/unit/SConscript +++ b/src/gallium/tests/unit/SConscript @@ -4,10 +4,19 @@ env = env.Clone() env.Prepend(LIBS = [gallium]) +if env['platform'] in ('freebsd8', 'sunos5'): + env.Append(LIBS = ['m']) + +if env['platform'] == 'freebsd8': + env.Append(LIBS = ['pthread']) + progs = [ 'pipe_barrier_test', + 'u_cache_test', 'u_format_test', - 'u_half_test' + 'u_format_compatible_test', + 'u_half_test', + 'translate_test' ] for prog in progs: