From 3402bfadb0a50f260b812abfac3e769586a7e2bd Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 7 Aug 2025 11:57:53 +0200 Subject: [PATCH] pkg/uwb-core: fix NDEBUG compilation problems --- pkg/uwb-core/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/uwb-core/Makefile b/pkg/uwb-core/Makefile index ec88b320fe..e3e5f6788d 100644 --- a/pkg/uwb-core/Makefile +++ b/pkg/uwb-core/Makefile @@ -24,6 +24,10 @@ ifneq (,$(filter llvm,$(TOOLCHAIN))) CFLAGS += -Wno-microsoft-anon-tag endif +ifneq (,$(filter -DNDEBUG,$(CFLAGS))) + CFLAGS += -Wno-sometimes-uninitialized +endif + IGNORE_MODULES := uwb-core_dpl \ uwb-core_config \ uwb-core_contrib \