Skip to content

Commit 7229caf

Browse files
authored
Merge branch 'master' into add-debug-build
2 parents 3af7f74 + de32e8c commit 7229caf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@ endif
337337

338338
CFLAGS += -DDFU_APP_DATA_RESERVED=$(DFU_APP_DATA_RESERVED)
339339

340+
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
341+
ifneq ($(findstring 12.,$(shell $(CC) --version 2>/dev/null)),)
342+
CFLAGS += --param=min-pagesize=0
343+
endif
344+
340345
#------------------------------------------------------------------------------
341346
# Linker Flags
342347
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)