From 03943b9b492a9405fd8b494f265ee72780b010ce Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 15 Dec 2021 18:21:46 +0100 Subject: [PATCH] package/frr: disable cunit 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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 \