Index: lldb/trunk/lit/helper/toolchain.py =================================================================== --- lldb/trunk/lit/helper/toolchain.py +++ lldb/trunk/lit/helper/toolchain.py @@ -78,7 +78,7 @@ sdk_path = lit.util.to_string(out) lit_config.note('using SDKROOT: %r' % sdk_path) flags = ['-isysroot', sdk_path] - elif platform.system() in ['OpenBSD']: + elif platform.system() in ['OpenBSD', 'Linux']: flags = ['-pthread']