diff options
author | Brad King <brad.king@kitware.com> | 2019-02-27 12:28:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-27 12:33:31 (GMT) |
commit | 18320230ecb273233b1ccb133537daf16179262c (patch) | |
tree | a06bf23b515bfa4398fcb2b22a19a2035ca83073 /Modules/FindLibArchive.cmake | |
parent | e0267eb1d327befd9839c0d745c84e6550618104 (diff) | |
download | CMake-18320230ecb273233b1ccb133537daf16179262c.zip CMake-18320230ecb273233b1ccb133537daf16179262c.tar.gz CMake-18320230ecb273233b1ccb133537daf16179262c.tar.bz2 |
FindThreads: Revert libc symbol check to pthread_create
Since commit e9a1ddc594 (FindThreads: Replace the pthread symbol
checking in libc., 2018-11-18, v3.14.0-rc1~292^2) we check libc for
`pthread_kill` instead of `pthread_create`. However, on FreeBSD
`pthread_kill` is in libc but not `pthread_create`. Discussion in the
original merge request for the above commit also considered
`pthread_key_create`, `pthread_self`, and `pthread_attr_init`. Every
symbol seems to have some reason it is not an appropriate choice.
Revert to the pre-3.14 behavior of using `pthread_create` pending
further investigation.
Diffstat (limited to 'Modules/FindLibArchive.cmake')
0 files changed, 0 insertions, 0 deletions