Pass -fsigned-char to make sure that char type is a signed type
This commit is contained in:
parent
6061b383a3
commit
778e9095a9
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
|
@ -1,7 +1,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=c11 -static -Oz
|
||||
TEST_CFLAGS = -Wall -Wextra -Werror -pedantic -std=c11 -static -Oz -fsigned-char
|
||||
CFLAGS = $(TEST_CFLAGS) -nostdlib -ffreestanding
|
||||
LDFLAGS = -Wl,/SUBSYSTEM:CONSOLE,/ENTRY:_start -fuse-ld=lld
|
||||
LIBS = -lkernel32
|
||||
|
|
|
|||
Loading…
Reference in a new issue