projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcb0f4d
)
Link with -pthread instead of -lpthread to fix FTBFS on riscv64
author
Ceph Packaging Team
<team+ceph@tracker.debian.org>
Wed, 21 Apr 2021 08:02:07 +0000
(09:02 +0100)
committer
Thomas Goirand
<zigo@debian.org>
Wed, 21 Apr 2021 08:02:07 +0000
(09:02 +0100)
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 6afd9c3db885f845943ede381828078453229070..0f883307e7782843019e39b1b5f82f1105c243c3 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-31,6
+31,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)