[Lldb-commits] [lldb] r355274 - [lldb] [lit] Pass -pthread on NetBSD as well

Michal Gorny via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 2 08:48:44 PST 2019


Author: mgorny
Date: Sat Mar  2 08:48:44 2019
New Revision: 355274

URL: http://llvm.org/viewvc/llvm-project?rev=355274&view=rev
Log:
[lldb] [lit] Pass -pthread on NetBSD as well

Modified:
    lldb/trunk/lit/helper/toolchain.py

Modified: lldb/trunk/lit/helper/toolchain.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/helper/toolchain.py?rev=355274&r1=355273&r2=355274&view=diff
==============================================================================
--- lldb/trunk/lit/helper/toolchain.py (original)
+++ lldb/trunk/lit/helper/toolchain.py Sat Mar  2 08:48:44 2019
@@ -96,7 +96,7 @@ def use_support_substitutions(config):
             sdk_path = lit.util.to_string(out)
             llvm_config.lit_config.note('using SDKROOT: %r' % sdk_path)
             flags = ['-isysroot', sdk_path]
-    elif platform.system() in ['OpenBSD', 'Linux']:
+    elif platform.system() in ['NetBSD', 'OpenBSD', 'Linux']:
         flags = ['-pthread']
 
 




More information about the lldb-commits mailing list