diff options
author | Vinson Lee <[email protected]> | 2010-07-06 17:25:39 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-07-06 17:25:39 -0700 |
commit | c89ea8f213c272b79ba0d0492597140ea20d7693 (patch) | |
tree | a30dbea9cf46460cd1f0e0f40c488e1f93f84d31 | |
parent | 2e423ac074bc847dbc0ecb938de939a4ea0c4e4e (diff) |
llvmpipe: Don't build lp_test_round when using MSVC.
lp_test_round uses the math functions round and trunc, which aren't
available with MSVC.
Fixes the MSVC build for now.
-rw-r--r-- | src/gallium/drivers/llvmpipe/SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index 57a6e7197fa..543d42dadd2 100644 --- a/src/gallium/drivers/llvmpipe/SConscript +++ b/src/gallium/drivers/llvmpipe/SConscript @@ -80,10 +80,12 @@ if env['platform'] != 'embedded': 'blend', 'conv', 'printf', - 'round', 'sincos', ] + if not msvc: + tests.append('round') + for test in tests: target = env.Program( target = 'lp_test_' + test, |