[Buildroot] [git commit] package/frr: disable cunit

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-12-16 19:11:04
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=03943b9b492a9405fd8b494f265ee72780b010ce
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Disable cunit to avoid the following build failure raised since bump to
version 8.1 in commit ca2753fd47d47e5ad0eec16ea62f7b7f096331b6 and
https://github.com/FRRouting/frr/commit/749714731ee9a59ae39be77e7db3915ce3ad0bd8:

In file included from pceplib/test/pcep_utils_counters_test.c:33:
./pceplib/pcep_utils_counters.h:112:2: error: unknown type name 'time_t'
  112 |  time_t start_time;
      |  ^~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/b68d3e369e2925938bde39508988aa9b701f1045

Signed-off-by: Fabrice Fontaine <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/frr/frr.mk | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/package/frr/frr.mk b/package/frr/frr.mk
index 49b4a190f0..733518fc11 100644
--- a/package/frr/frr.mk
+++ b/package/frr/frr.mk
@@ -17,6 +17,8 @@ FRR_DEPENDENCIES = host-frr readline json-c \
 
 HOST_FRR_DEPENDENCIES = host-flex host-bison host-elfutils host-python3
 
+FRR_CONF_ENV = ac_cv_lib_cunit_CU_initialize_registry=no
+
 FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
 	--sysconfdir=/etc/frr \
 	--localstatedir=/var/run/frr \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help