[Buildroot] [PATCH v2 1/1] package/gnuradio: link with libatomic when needed

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 5 07:36:42 UTC 2017


Hello,

On Sun, 25 Jun 2017 10:48:06 +0200, Bernd Kuhls wrote:

>  GNURADIO_CONF_OPTS = \
> +	-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(GNURADIO_CFLAGS)" \
>  	-DENABLE_DEFAULT=OFF \
>  	-DENABLE_VOLK=ON \
>  	-DENABLE_GNURADIO_RUNTIME=ON
> @@ -30,13 +31,17 @@ GNURADIO_CONF_OPTS = \
>  # compile time.
>  GNURADIO_INSTALL_STAGING = YES
>  
> +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> +GNURADIO_CFLAGS += -latomic

Is there some CMAKE_LD_FLAGS, or linker flags, or something? This would
be more appropriate for a linker flag.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list