-mno-stack-arg-probe to prevent clang from inserting __chkstk
This commit is contained in:
parent
ffc22e74c0
commit
a4f8b9ca30
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
|
@ -2,7 +2,7 @@ CC = clang
|
|||
AXL_SOURCES = $(filter-out main.c %_test.c, $(wildcard *.c))
|
||||
TEST_EXES = $(patsubst %.c,%.exe,$(wildcard *_test.c))
|
||||
TEST_CFLAGS = -Wall -Wextra -Werror -pedantic -std=c17 -static -Oz -fsigned-char
|
||||
CFLAGS = $(TEST_CFLAGS) -nostdlib -ffreestanding -fno-builtin
|
||||
CFLAGS = $(TEST_CFLAGS) -nostdlib -ffreestanding -fno-builtin -mno-stack-arg-probe
|
||||
LDFLAGS = -Wl,/SUBSYSTEM:CONSOLE,/ENTRY:_start -fuse-ld=lld
|
||||
LIBS = -lkernel32
|
||||
SOURCES = $(AXL_SOURCES) main.c
|
||||
|
|
|
|||
Loading…
Reference in a new issue