On Mon, Jul 20, 2020 at 11:52:57AM +0200, Petter Reinholdtsen wrote:
> Upstream is trying to fix it, but unfortunately the first draft did not
> solve it completely.  Hopefully soon.  The current new version do not
> solve it, as far as I know.

The Debian-specific fix would be:

--- debian/rules.old    2020-09-13 12:13:28.875945657 +0000
+++ debian/rules        2020-09-13 12:14:04.343685272 +0000
@@ -12,6 +12,10 @@
 # package maintainers to append LDFLAGS
 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
+  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic 
-Wl,--as-needed
+endif
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 CMAKE_OPTIONS := -DRESTINIO_FIND_DEPS=1 \


cu
Adrian

Reply via email to