mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Disable strict C99, as binary constants are currently used in rv32c code
This commit is contained in:
parent
adec69e1d7
commit
8fca9fcec1
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ CFLAGS += `pkg-config sdl3 --cflags`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -Wall -Werror -Wno-gnu-binary-literal
|
CFLAGS += -Wall -Werror -Wno-gnu-binary-literal
|
||||||
CFLAGS += -pedantic -std=c99 -O0 -g
|
CFLAGS += -O0 -g
|
||||||
CFLAGS += -DUVM32_ERROR_STRINGS -DUVM32_MEMORY_SIZE=$(shell echo "1024 * 1024 * 8" | bc)
|
CFLAGS += -DUVM32_ERROR_STRINGS -DUVM32_MEMORY_SIZE=$(shell echo "1024 * 1024 * 8" | bc)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOPDIR=../..
|
TOPDIR=../..
|
||||||
|
|
||||||
all:
|
all:
|
||||||
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
|
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
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f host
|
rm -f host
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue