mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 06:33:03 +00:00
Makefile: Add -Wstack-usage=1024
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
4acc3d7c7f
commit
56e279fe64
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -17,7 +17,8 @@ CFLAGS := -O2 -Wall -Wundef -Werror=strict-prototypes -fno-common -fno-PIE \
|
|||
-Wsign-compare -Wunused-parameter -Wno-multichar \
|
||||
-ffreestanding -fpic -ffunction-sections -fdata-sections \
|
||||
-nostdinc -isystem $(shell $(CC) -print-file-name=include) -isystem sysinc \
|
||||
-fno-stack-protector -mgeneral-regs-only -mstrict-align -march=armv8.2-a
|
||||
-fno-stack-protector -mgeneral-regs-only -mstrict-align -march=armv8.2-a \
|
||||
-Wstack-usage=1024
|
||||
|
||||
LDFLAGS := -T m1n1.ld -EL -maarch64elf --no-undefined -X -Bsymbolic \
|
||||
-z notext --no-apply-dynamic-relocs --orphan-handling=warn --strip-debug \
|
||||
|
|
Loading…
Reference in a new issue