projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af217c8
)
Link with -pthread instead of -lpthread to fix FTBFS on riscv64
author
Ceph Packaging Team
<team+ceph@tracker.debian.org>
Sun, 22 Mar 2020 23:14:25 +0000
(23:14 +0000)
committer
Bernd Zeimetz
<bzed@debian.org>
Sun, 22 Mar 2020 23:14:25 +0000
(23:14 +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 f068082a24dac7ca374ce61ac15d9d4d446bfc77..2ea33803ab1306f9bcc74d5d44a948f1d2012982 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-28,6
+28,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)