mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/frr: link with latomic if needed
Fixes: - http://autobuild.buildroot.org/results/c98/c989f58eabd8f012798ade75e5b0f2a93b91c82d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
14532e4fc6
commit
ecdde4c275
@@ -32,6 +32,10 @@ FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
|
|||||||
|
|
||||||
HOST_FRR_CONF_OPTS = --enable-clippy-only
|
HOST_FRR_CONF_OPTS = --enable-clippy-only
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||||
|
FRR_CONF_ENV += LIBS=-latomic
|
||||||
|
endif
|
||||||
|
|
||||||
define HOST_FRR_INSTALL_CMDS
|
define HOST_FRR_INSTALL_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy
|
$(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user