From 5b01b298e9743a53617543ff5a32ed3b7f31db2e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 20 Dec 2025 22:36:18 +0100 Subject: [PATCH 41/50] tests/Makefile.mk: use 3rdparty/cmocka by default (tests) Signed-off-by: Leah Rowe --- tests/Makefile.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.mk b/tests/Makefile.mk index ab302634ecaa..7e6f260b27c5 100644 --- a/tests/Makefile.mk +++ b/tests/Makefile.mk @@ -25,7 +25,9 @@ TEST_LDFLAGS += --coverage endif # Use system cmoka in default, or build from 3rdparty source code if requested -USE_SYSTEM_CMOCKA ?= 1 +# PATCH NOTE: lbmk sets it to 0 by default. You can still override it to 1 +# if you wish; upstream sets this to 1 by default, but we do 0 +USE_SYSTEM_CMOCKA ?= 0 ifeq ($(USE_SYSTEM_CMOCKA),1) # Only probe for Cmocka (and possibly warn that it will be built from 3rdparty) # when the requested goals actually build or run unit tests. Otherwise every -- 2.47.3