On Wed, May 27, 2020 at 11:02:50AM +0200, Sandro Knauß wrote:
> Hey,
> 
> > This is caused by a missing -latmoic. See also
> > https://buildd.debian.org/status/fetch.php?pkg=akonadi&arch=armel&ver=4%3A20
> > .04.1-1&stamp=1590553675&raw=0
> 
> thanks for this fast scan and also proposing a solution. But I have no 
> example 
> of how I need to modify cmake to end up having -latomic for armel being 
> added. 
> Do you know anything?
> I found one solution to add atomic everywhere, but this may be an overkill: 
> https://github.com/mavlink/mavros/pull/790/files
>...

The easy workaround is in debian/rules:

ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
  export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
endif


> hefee

cu
Adrian

Reply via email to