projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15694fd
)
[lldb] [test/Shell] Simplify -pthread condition
author
Michał Górny
<mgorny@moritz.systems>
Wed, 4 Nov 2020 23:10:06 +0000
(
00:10
+0100)
committer
Michał Górny
<mgorny@moritz.systems>
Thu, 5 Nov 2020 16:49:20 +0000
(17:49 +0100)
Pass -pthread on all systems except for Darwin and Windows.
Suggested by Pavel Labath.
lldb/test/Shell/helper/toolchain.py
patch
|
blob
|
history
diff --git
a/lldb/test/Shell/helper/toolchain.py
b/lldb/test/Shell/helper/toolchain.py
index
cda66b6
..
9b85da0
100644
(file)
--- 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 ['FreeBSD', 'NetBSD', 'OpenBSD', 'Linux']
:
+ elif
sys.platform != 'win32'
:
host_flags += ['-pthread']
if sys.platform.startswith('netbsd'):