From: Fabrice Fontaine Date: Fri, 16 Oct 2020 06:43:20 +0000 (+0200) Subject: package/kismet: link with libatomic if needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2f88b45de0dc76c801bf6a9fc315a85ed3b2abe;p=buildroot.git package/kismet: link with libatomic if needed Fix build of kismet-2020-09-R3 with riscv64 Fixes: - http://autobuild.buildroot.org/results/9c3d56ef837c7c5bfbb34a0ec51b349108e201b1 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/kismet/kismet.mk b/package/kismet/kismet.mk index 723ce9c02b..4fc96e76c3 100644 --- a/package/kismet/kismet.mk +++ b/package/kismet/kismet.mk @@ -27,6 +27,10 @@ endif KISMET_CONF_ENV += CXXFLAGS="$(KISMET_CXXFLAGS)" +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KISMET_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_PACKAGE_LIBCAP),y) KISMET_DEPENDENCIES += libcap KISMET_CONF_OPTS += --enable-libcap