From b044e8355d307dfc67839f8f5746b10e257aaa2e Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Fri, 10 Dec 2021 16:21:31 +0100 Subject: [PATCH] pkg/qr-code-generator: fix compilation with NDEBUG --- pkg/qr-code-generator/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/qr-code-generator/Makefile b/pkg/qr-code-generator/Makefile index 552929b3aa..0581574a6d 100644 --- a/pkg/qr-code-generator/Makefile +++ b/pkg/qr-code-generator/Makefile @@ -7,5 +7,8 @@ include $(RIOTBASE)/pkg/pkg.mk CFLAGS += -Wno-type-limits +# avoid compilation errors when NDEBUG is defined +CFLAGS += -Wno-unused-parameter + all: $(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/c -f $(CURDIR)/$(PKG_NAME).mk