Author: Michał Górny Date: 2020-11-03T22:01:59+01:00 New Revision: 051da2bede4ba7231d009b5708d1191dde1e5dde
URL: https://github.com/llvm/llvm-project/commit/051da2bede4ba7231d009b5708d1191dde1e5dde DIFF: https://github.com/llvm/llvm-project/commit/051da2bede4ba7231d009b5708d1191dde1e5dde.diff LOG: [lldb] [test/Shell] Pass -pthread to host toolchain on FreeBSD too Added: Modified: lldb/test/Shell/helper/toolchain.py Removed: ################################################################################ diff --git a/lldb/test/Shell/helper/toolchain.py b/lldb/test/Shell/helper/toolchain.py index 2b075d5523d4..cda66b652961 100644 --- a/lldb/test/Shell/helper/toolchain.py +++ b/lldb/test/Shell/helper/toolchain.py @@ -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'): _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits