* [Buildroot] [PATCH 1/1] package/frr: link with latomic if needed
@ 2020-09-27 12:58 Fabrice Fontaine
2020-09-30 20:55 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-09-27 12:58 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/c98/c989f58eabd8f012798ade75e5b0f2a93b91c82d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.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
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/frr: link with latomic if needed
2020-09-27 12:58 [Buildroot] [PATCH 1/1] package/frr: link with latomic if needed Fabrice Fontaine
@ 2020-09-30 20:55 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-09-30 20:55 UTC (permalink / raw)
To: buildroot
On Sun, 27 Sep 2020 14:58:33 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fixes:
> - http://autobuild.buildroot.org/results/c98/c989f58eabd8f012798ade75e5b0f2a93b91c82d
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/frr/frr.mk | 4 ++++
> 1 file changed, 4 insertions(+)
So I've applied, but it would be nicer to suggest to upstream to have a
the proper configure.ac logic to link against libatomic when needed.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-30 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 12:58 [Buildroot] [PATCH 1/1] package/frr: link with latomic if needed Fabrice Fontaine
2020-09-30 20:55 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.