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+
17mongo-c-driver (1.22.1-1) unstable; urgency=medium
28
39 * 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
1616# export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
1717# package maintainers to append LDFLAGS
1818export 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
1923
2024ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS ) ) )
2125 DOCS=OFF
You can’t perform that action at this time.
0 commit comments