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:
parent
8d1bb4cfe8
commit
aaa835340a
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user