mirror of
https://github.com/oltaco/Adafruit_nRF52_Bootloader_OTAFIX.git
synced 2026-03-29 09:19:55 +00:00
fix: array subscript 0 outside array bounds
This will also add version 14.x of the compiler to apply additional CLFAGS. #339 Signed-off-by: Andreas Kurz <info@akurz.net>
This commit is contained in:
4
Makefile
4
Makefile
@@ -336,8 +336,8 @@ endif
|
||||
CFLAGS += -DDFU_APP_DATA_RESERVED=$(DFU_APP_DATA_RESERVED)
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
|
||||
# Fixes for gcc version 12 and 13.
|
||||
ifneq (,$(filter 12.% 13.%,$(shell $(CC) -dumpversion 2>/dev/null)))
|
||||
# Fixes for gcc version 12, 13 and 14.
|
||||
ifneq (,$(filter 12.% 13.% 14.%,$(shell $(CC) -dumpversion 2>/dev/null)))
|
||||
CFLAGS += --param=min-pagesize=0
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user