diff options
author | José Fonseca <[email protected]> | 2012-12-05 08:59:21 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-12-06 17:12:31 +0000 |
commit | d296326e065ed9685bd27d62a3ba20d8a8996e6f (patch) | |
tree | fd199ddabb848056e1f03df7d275ea272f8a4f1a /scons | |
parent | 7e14293556bf8b4248728d2952752c13f70647f3 (diff) |
gallium/os: Cleanup up os_time_get/os_time_get_nano.
- Re-implement os_time_get in terms of os_time_get_nano() for consistency
- Use CLOCK_MONOTONIC as recommended
- Only use clock_gettime on Linux for now.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'scons')
-rwxr-xr-x | scons/gallium.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 66ccaea7359..98671f75d2f 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -500,7 +500,7 @@ def generate(env): libs = [] if env['platform'] in ('darwin', 'freebsd', 'linux', 'posix', 'sunos'): libs += ['m', 'pthread', 'dl'] - if env['platform'] in 'linux': + if env['platform'] in ('linux',): libs += ['rt'] env.Append(LIBS = libs) |