projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763e0cd
)
Link with -pthread instead of -lpthread to fix FTBFS on riscv64
author
Ceph Packaging Team
<team+ceph@tracker.debian.org>
Thu, 16 Feb 2023 10:54:41 +0000
(10:54 +0000)
committer
Thomas Goirand
<zigo@debian.org>
Thu, 16 Feb 2023 10:54:41 +0000
(10:54 +0000)
Forwarded: no
Last-Update: 2020-03-01
Gbp-Pq: Name riscv64-link-pthread.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index c58a95d1f1f81084bc44c3d2d1262992cf0ebaed..bf4eb479b76ec52f9de915d05190c796a1d3e76a 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-25,6
+25,7
@@
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
set(LINUX ON)
+ set(THREADS_PREFER_PTHREAD_FLAG ON)
FIND_PACKAGE(Threads)
elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(FREEBSD ON)