c0928b7c0e
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>
22 lines
648 B
Makefile
22 lines
648 B
Makefile
################################################################################
|
|
#
|
|
# gqrx
|
|
#
|
|
################################################################################
|
|
|
|
GQRX_VERSION = v2.11.4
|
|
GQRX_SITE = $(call github,csete,gqrx,$(GQRX_VERSION))
|
|
GQRX_LICENSE = GPL-3.0+, Apache-2.0
|
|
GQRX_LICENSE_FILES = COPYING LICENSE-CTK
|
|
GQRX_DEPENDENCIES = boost gnuradio gr-osmosdr qt5base qt5svg
|
|
|
|
GQRX_CONF_OPTS = -DLINUX_AUDIO_BACKEND=Gr-audio
|
|
|
|
# gqrx can use __atomic builtins, so we need to link with
|
|
# libatomic when available
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
GQRX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|