Package: limesuite / 18.06.0+dfsg-1

link-libatomic Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Link libatomic
 Some architectures do not have builtin atomic support in the compiler
 and/or do not automatically link libatomic. This patch simply adds
 unconditional linking to libatomic.
Author: Andreas Bombe <aeb@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -106,6 +106,8 @@
     list(APPEND LIME_SUITE_LIBRARIES -pthread)
 endif(CMAKE_COMPILER_IS_GNUCXX)
 
+list(APPEND LIME_SUITE_LIBRARIES atomic)
+
 include(FeatureSummary)
 include(CMakeDependentOption)
 option(ENABLE_LIBRARY "Enable build library" ON)