The attached patch should fix it for the respective architectures.

Successfully tested on powerpcspe.
--- test/yrmcds-1.0.3/debian/rules	2014-01-18 02:08:36.000000000 +0100
+++ yrmcds-1.0.3/debian/rules	2014-01-19 22:48:56.466468343 +0100
@@ -27,6 +27,10 @@
 LDFLAGS=`dpkg-buildflags --get LDFLAGS`
 export LDFLAGS
 
+ifneq (,$(findstring $(DEB_HOST_ARCH),mips mipsel powerpc powerpcspe))
+LDFLAGS += -latomic
+endif
+
 CFLAGS += $(CPPFLAGS)
 
 ifneq (,$(filter x-fpic,$(DEB_BUILD_OPTIONS)))

Reply via email to