commit | 1e67d66d5e91cf784f1606f5a22642581aa55762 | [log] [tgz] |
---|---|---|
author | Artem Belevich <tra@google.com> | Tue Jun 21 19:34:40 2016 +0000 |
committer | Artem Belevich <tra@google.com> | Tue Jun 21 19:34:40 2016 +0000 |
tree | 367fefc9ef60a56e61878e0c08ab679d2fbd613e | |
parent | 604d3935d1816f28479562be67c7f96b49c2a951 [diff] |
[build] Make sure to link main executable with pthreads Otherwise it gets linked in by one of the dependencies of shared libraries which may be too late and we end up with weird crashes in std::call_once(). Differential Revision: http://reviews.llvm.org/D21478 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273302 91177308-0d34-0410-b5e6-96231b3b80d8