[lldb] [test/Shell] Pass -pthread to host toolchain on FreeBSD too

This commit is contained in:
Michał Górny 2020-11-03 19:25:16 +01:00
parent b7de7be098
commit 051da2bede
1 changed files with 1 additions and 1 deletions

View File

@ -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'):