package/gnuradio: link with libatomic when needed
Fixes http://autobuild.buildroot.net/results/528/52825918bf65b23241cd68d99513350703469294/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
2577484da9
commit
83ce8070b4
@ -30,6 +30,10 @@ GNURADIO_CONF_OPTS = \
|
||||
# compile time.
|
||||
GNURADIO_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
GNURADIO_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
||||
endif
|
||||
|
||||
# Yes, this is silly, because -march is already known by the compiler
|
||||
# with the internal toolchain, and passed by the external wrapper for
|
||||
# external toolchains. Nonetheless, gnuradio does some matching on the
|
||||
|
Loading…
Reference in New Issue
Block a user