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 \