aboutsummaryrefslogtreecommitdiff
path: root/package/frr/frr.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/frr/frr.mk')
-rw-r--r--package/frr/frr.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/frr/frr.mk b/package/frr/frr.mk
index a77afb52e4..6beaf776ac 100644
--- a/package/frr/frr.mk
+++ b/package/frr/frr.mk
@@ -32,6 +32,10 @@ FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
HOST_FRR_CONF_OPTS = --enable-clippy-only
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+FRR_CONF_ENV += LIBS=-latomic
+endif
+
define HOST_FRR_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy
endef