[Buildroot] [PATCH 1/1] package/opencv3: use BR2_TOOLCHAIN_HAS_LIBATOMIC
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Sep 5 21:39:17 UTC 2016
Hello,
On Mon, 5 Sep 2016 23:00:56 +0200, Bernd Kuhls wrote:
> +# Uses __atomic_fetch_add_4
> +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> +OPENCV3_CONF_OPTS += -DCMAKE_CXX_FLAGS="-latomic"
> +endif
Isn't this overriding the flags already passed? Shouldn't it be:
-DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -latomic"
or something like that?
Samuel?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list