We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e6c877 + 4f8c2af commit e745002Copy full SHA for e745002
Makefile
@@ -342,7 +342,8 @@ endif
342
CFLAGS += -DDFU_APP_DATA_RESERVED=$(DFU_APP_DATA_RESERVED)
343
344
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
345
-ifneq ($(findstring 12.,$(shell $(CC) --version 2>/dev/null)),)
+# Fixes for gcc version 12 and 13.
346
+ifneq (,$(filter 12.% 13.%,$(shell $(CC) -dumpversion 2>/dev/null)))
347
CFLAGS += --param=min-pagesize=0
348
endif
349
0 commit comments