mcuboot: Ignore mcuboot compile warnings

Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2024-05-14 16:32:05 +08:00 committed by Xiang Xiao
parent 8d1bb4cfe8
commit aaa835340a

View File

@ -39,7 +39,7 @@ PRIORITY += SCHED_PRIORITY_DEFAULT
STACKSIZE += $(CONFIG_DEFAULT_TASK_STACKSIZE)
endif
CFLAGS += -Wno-undef
CFLAGS += -Wno-undef -Wno-unused-but-set-variable
CSRCS := $(MCUBOOT_UNPACK)/boot/bootutil/src/boot_record.c \
$(MCUBOOT_UNPACK)/boot/bootutil/src/bootutil_misc.c \