diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/SConscript.main | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/SConscript.main b/build/SConscript.main index ac22314..d1599d4 100644 --- a/build/SConscript.main +++ b/build/SConscript.main @@ -312,7 +312,8 @@ elif env['PLATFORM'] == 'posix': # TODO(linux): we should also compile with -Werror, but not yet. CCFLAGS = ['-m32', '-g'], LINKFLAGS = ['-m32'], - LIBS = ['pthread'], + # We need pthread for threading, and rt for clock_gettime. + LIBS = ['pthread', 'rt'], ) else: |