Disable red-zone
This commit is contained in:
1 parent
87d8c9c713
commit
2e8efd4117
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ CC := ${TARGET}-gcc
|
||||
SRC := $(shell find -type f -name '*.[cS]*')
|
||||
OBJ := $(patsubst %, %.o, $(basename $(basename $(SRC))))
|
||||
|
||||
CFLAGS := -Wall -Wextra -pedantic -ffreestanding -mcmodel=large -std=c2x
|
||||
CFLAGS := -Wall -Wextra -pedantic -ffreestanding -mcmodel=large -std=c2x -mno-red-zone
|
||||
CFLAGS += -ggdb -O0
|
||||
ASFLAGS += -ggdb
|
||||
CPPFLAGS += -nostdinc -I include -I /opt/sysroot/usr/include
|
||||
|
||||
@@ -8,7 +8,7 @@ SRC := $(shell find -type f -name '*.[cS]*')
|
||||
OBJ := $(patsubst %, %.o, $(basename $(basename $(SRC))))
|
||||
HDR := $(shell find -type f -name '*.h')
|
||||
|
||||
CFLAGS := -Wall -Wextra -pedantic -ffreestanding -mcmodel=large -std=c2x
|
||||
CFLAGS := -Wall -Wextra -pedantic -ffreestanding -mcmodel=large -std=c2x -mno-red-zone
|
||||
CFLAGS += -ggdb -O0
|
||||
ASFLAGS += -ggdb
|
||||
CPPFLAGS += -nostdinc -I include -I /opt/sysroot/usr/include
|
||||
|
||||
Reference in new issue
Block a user