package/gqrx: link with libatomic when needed
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Fri, 22 Feb 2019 13:12:18 +0000 (14:12 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Mar 2019 22:10:29 +0000 (23:10 +0100)
commitc0928b7c0e9cb67db0e746c6373bf20ca8aa62f5
tree048db34bf7a1226b1653403006b8e2918002fdb9
parentf7a2870dd1fef9ee41e78ea1bcbb2ec61e82eb67
package/gqrx: link with libatomic when needed

On some architectures, atomic builtins 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@trabucayre.com>
[Peter: add dependency on sync or atomic builtins in Config, addd comment]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gqrx/Config.in
package/gqrx/gqrx.mk