forked from OSchip/llvm-project
[lldb] [test/Shell] Pass -pthread to host toolchain on FreeBSD too
This commit is contained in:
parent
b7de7be098
commit
051da2bede
|
@ -116,7 +116,7 @@ def use_support_substitutions(config):
|
|||
sdk_path = lit.util.to_string(out)
|
||||
llvm_config.lit_config.note('using SDKROOT: %r' % sdk_path)
|
||||
host_flags += ['-isysroot', sdk_path]
|
||||
elif platform.system() in ['NetBSD', 'OpenBSD', 'Linux']:
|
||||
elif platform.system() in ['FreeBSD', 'NetBSD', 'OpenBSD', 'Linux']:
|
||||
host_flags += ['-pthread']
|
||||
|
||||
if sys.platform.startswith('netbsd'):
|
||||
|
|
Loading…
Reference in New Issue