kernel: add -mno-red-zone
This commit is contained in:
parent
03701dd96b
commit
bf7bb4443f
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue