Skip to content

Commit 8fca9fc

Browse files
Disable strict C99, as binary constants are currently used in rv32c code
1 parent adec69e commit 8fca9fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hosts/host-sdl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CFLAGS += `pkg-config sdl3 --cflags`
1010
endif
1111

1212
CFLAGS += -Wall -Werror -Wno-gnu-binary-literal
13-
CFLAGS += -pedantic -std=c99 -O0 -g
13+
CFLAGS += -O0 -g
1414
CFLAGS += -DUVM32_ERROR_STRINGS -DUVM32_MEMORY_SIZE=$(shell echo "1024 * 1024 * 8" | bc)
1515

1616
all:

hosts/host/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
TOPDIR=../..
22

33
all:
4-
gcc -g -Wall -Werror -pedantic -std=c99 -Wno-gnu-binary-literal -O0 -DUVM32_ERROR_STRINGS -DUVM32_MEMORY_SIZE=65536 -I${TOPDIR}/uvm32 -I${TOPDIR}/common -o host ${TOPDIR}/uvm32/uvm32.c host.c
4+
gcc -g -Wall -Werror -Wno-gnu-binary-literal -O0 -DUVM32_ERROR_STRINGS -DUVM32_MEMORY_SIZE=65536 -I${TOPDIR}/uvm32 -I${TOPDIR}/common -o host ${TOPDIR}/uvm32/uvm32.c host.c
55

66
clean:
77
rm -f host

0 commit comments

Comments
 (0)