File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ mongo-c-driver (1.22.1-2) UNRELEASED; urgency=medium
2
+
3
+ * Explicitly link to libatomic on riscv64 (Closes: #1017345)
4
+
5
+ -- Roberto C. Sanchez <
[email protected] > Mon, 15 Aug 2022 17:06:22 -0400
6
+
1
7
mongo-c-driver (1.22.1-1) unstable; urgency=medium
2
8
3
9
* New upstream release (Closes: #1013404)
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
16
16
# export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
17
17
# package maintainers to append LDFLAGS
18
18
export DEB_LDFLAGS_MAINT_APPEND := -lpthread
19
+ # Link with libatomic on riscv64 to get access to the __atomic_*_1 functions
20
+ ifeq ($(DEB_HOST_ARCH ) ,riscv64)
21
+ export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
22
+ endif
19
23
20
24
ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS ) ) )
21
25
DOCS=OFF
You can’t perform that action at this time.
0 commit comments