On 03/11/2020 22:02, Michał Górny via lldb-commits wrote:
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']:
Maybe this should just be sys.platform != "win32" ?
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits