[Buildroot] [PATCH] package/gqrx: link with libatomic when needed

Peter Korsgaard peter at korsgaard.com
Sun Mar 3 22:09:54 UTC 2019


>>>>> "Gwenhael" == Gwenhael Goavec-Merou <gwenj at trabucayre.com> writes:

 > From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
 > On some architectures, atomic binutils are provided by the libatomic
 > library from gcc. Linking with libatomic is therefore necessary,
 > otherwise the build fails with:

 > sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

 > Fixes:
 >  - http://autobuild.buildroot.net/results/a003ad5324a0c0f55cb8db5d3e5d69bd21999e16/
 >  - http://autobuild.buildroot.net/results/464602175d026d135125e5baa00e0729aec7a931/

 > Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>

We also need to ensure gqrx can only be enabled on architectures where
sync or libatomic is available, so I added that and a comment explaining
why and committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list