Skip to content

Commit 30485ea

Browse files
jannaumarcan
authored andcommitted
build: Increase stack usage warning to 2048
Same value as the arm64 kernel build uses. Avoids following warning: | src/tinf/tinflate.c: In function ‘tinf_uncompress’: | src/tinf/tinflate.c:559:5: warning: stack usage is 1712 bytes [-Wstack-usage=] | 559 | int tinf_uncompress(void *dest, unsigned int *destLen, Signed-off-by: Janne Grunau <[email protected]>
1 parent b48c6d2 commit 30485ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ AS := $(TOOLCHAIN)$(ARCH)gcc
3030
LD := $(TOOLCHAIN)$(ARCH)ld
3131
OBJCOPY := $(TOOLCHAIN)$(ARCH)objcopy
3232
CLANG_FORMAT := clang-format
33-
EXTRA_CFLAGS ?= -Wstack-usage=1024
33+
EXTRA_CFLAGS ?= -Wstack-usage=2048
3434
endif
3535

3636
BASE_CFLAGS := -O2 -Wall -g -Wundef -Werror=strict-prototypes -fno-common -fno-PIE \

0 commit comments

Comments
 (0)