Kaynağa Gözat

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>
Bernd Kuhls 8 yıl önce
ebeveyn
işleme
83ce8070b4
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      package/gnuradio/gnuradio.mk

+ 4 - 0
package/gnuradio/gnuradio.mk

@@ -30,6 +30,10 @@ GNURADIO_CONF_OPTS = \
 # compile time.
 # compile time.
 GNURADIO_INSTALL_STAGING = YES
 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
 # Yes, this is silly, because -march is already known by the compiler
 # with the internal toolchain, and passed by the external wrapper for
 # with the internal toolchain, and passed by the external wrapper for
 # external toolchains. Nonetheless, gnuradio does some matching on the
 # external toolchains. Nonetheless, gnuradio does some matching on the