mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 01:34:12 +00:00
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 <j@jannau.net>
This commit is contained in:
parent
b48c6d2ea4
commit
30485ead25
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -30,7 +30,7 @@ AS := $(TOOLCHAIN)$(ARCH)gcc
|
|||
LD := $(TOOLCHAIN)$(ARCH)ld
|
||||
OBJCOPY := $(TOOLCHAIN)$(ARCH)objcopy
|
||||
CLANG_FORMAT := clang-format
|
||||
EXTRA_CFLAGS ?= -Wstack-usage=1024
|
||||
EXTRA_CFLAGS ?= -Wstack-usage=2048
|
||||
endif
|
||||
|
||||
BASE_CFLAGS := -O2 -Wall -g -Wundef -Werror=strict-prototypes -fno-common -fno-PIE \
|
||||
|
|
Loading…
Reference in a new issue