From 9a7afc0bb68163d30c0a10640cebc7d77723626d Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Tue, 1 Jun 2021 16:34:10 +0200 Subject: [PATCH] package/sysrepo: use default CMAKE_BUILD_TYPE for host package Use the default build type for host-sysrepo. In the current version of sysrepo, this happens to be 'Debug'. As 'Debug' also enables tests, explicitly disable them. Suggested-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas De Schampheleire Acked-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Heiko Thiery Signed-off-by: Yann E. MORIN --- package/sysrepo/sysrepo.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/sysrepo/sysrepo.mk b/package/sysrepo/sysrepo.mk index dbc7b16b63..f5be29d2c9 100644 --- a/package/sysrepo/sysrepo.mk +++ b/package/sysrepo/sysrepo.mk @@ -26,8 +26,9 @@ define SYSREPO_INSTALL_INIT_SYSV endef HOST_SYSREPO_CONF_OPTS = \ - -DCMAKE_BUILD_TYPE=Release \ -DBUILD_EXAMPLES=OFF \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF \ -DREPO_PATH=$(TARGET_DIR)/etc/sysrepo $(eval $(cmake-package)) -- 2.30.2