summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-03-14 10:08:21 +0000
committerPavel Labath <labath@google.com>2018-03-14 10:08:21 +0000
commit10ef3136780e13b000e6cbd6d2a8870ce821cc6f (patch)
treef776b612e5887ef70dd3842a1abea484f90ee5f1 /clang/lib/CodeGen/CodeGenFunction.cpp
parentfe9922f8af014301432dcfe221b9b78cdbe636f8 (diff)
downloadbcm5719-llvm-10ef3136780e13b000e6cbd6d2a8870ce821cc6f.tar.gz
bcm5719-llvm-10ef3136780e13b000e6cbd6d2a8870ce821cc6f.zip
[cmake] Fix standalone+LLVM_LINK_LLVM_DYLIB builds (pr36687)
Summary: To make this build work, I needed to add detection code for the pthread library. This is necessary, because we have direct calls to these libraries (instead of going through llvm) and in the standalone build we cannot rely on llvm to detect these for us. In a standalone non-dylib build this was accidentaly working because these libraries were pulled in as an interface dependency of the .a files, but in a dylib build these are no longer part of the link interface, and so we need to add them explicitly. Reviewers: krytarowski, zturner Subscribers: lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D44379 llvm-svn: 327490
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud