[Buildroot] [git commit] package/frr: link with latomic if needed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2020-09-30 20:53:58
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2020-09-30 20:53:58
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=ecdde4c2752e73c2298ed8bc6f79909d69cb9881 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Fixes: - http://autobuild.buildroot.org/results/c98/c989f58eabd8f012798ade75e5b0f2a93b91c82d Signed-off-by: Fabrice Fontaine <redacted> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- package/frr/frr.mk | 4 ++++ 1 file changed, 4 insertions(+)
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