[PATCH] D21478: [build] Link main executable with libpthread
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 11:49:27 PDT 2016
tra added inline comments.
================
Comment at: cmake/config-ix.cmake:115
@@ +114,3 @@
+ # have it reported as '-l<lib>' instead of '-pthread'.
+ # TODO: switch to -pthread once the rest of the build system can deal with it.
+ set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
----------------
OK. We'll stick with -l<pthread variant> for now.
http://reviews.llvm.org/D21478
More information about the llvm-commits
mailing list