kernel: add -mno-red-zone

This commit is contained in:
Quinten Kock 2020-12-14 23:08:12 +01:00
parent 03701dd96b
commit bf7bb4443f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ LDSCRIPT = make/$(ARCH)/linker.ld
CFLAGS ?= -Og -g
CFLAGS := $(CFLAGS) $(ARCH_CFLAGS) \
-Wall -Wextra -pedantic -std=gnu11 -I../ext -Isrc -fPIE
-Wall -Wextra -pedantic -std=gnu11 -I../ext -Isrc -fPIE -mno-red-zone
LDFLAGS := $(LDFLAGS) -T $(LDSCRIPT)