aboutsummaryrefslogtreecommitdiff
path: root/package/kismet
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-10-16 08:43:20 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-10-17 18:22:46 +0200
commita2f88b45de0dc76c801bf6a9fc315a85ed3b2abe (patch)
tree714536907871c053e76f2a412a33dd42485e7880 /package/kismet
parentf76cbc2d48751a89116cc9f44c7643995bb0dc29 (diff)
downloadbuildroot-a2f88b45de0dc76c801bf6a9fc315a85ed3b2abe.tar.gz
buildroot-a2f88b45de0dc76c801bf6a9fc315a85ed3b2abe.tar.bz2
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 <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/kismet')
-rw-r--r--package/kismet/kismet.mk4
1 files changed, 4 insertions, 0 deletions
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