projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d978465
)
Link with -pthread instead of -lpthread to fix FTBFS on riscv64
author
Ceph Packaging Team
<team+ceph@tracker.debian.org>
Mon, 28 Nov 2022 11:02:57 +0000
(11:02 +0000)
committer
Thomas Goirand
<zigo@debian.org>
Mon, 28 Nov 2022 11:02:57 +0000
(11:02 +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 2273ef73678b1e39e4ef8ae14310ddb9662a0e2f..4290b762960e3cbd29c6f293e72fb7517d5806fd 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)