diff options
| author | Alasdair Armstrong | 2018-09-04 17:46:07 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-09-04 18:39:10 +0100 |
| commit | 734e23d5f0bfc6fcd2a723bc0c692b97e515088e (patch) | |
| tree | 71294056ad125a7f8ae7f9200e6884d921ee933c /riscv/Makefile | |
| parent | b37cf873f5bb23ccee29fc6a0f06374fdf88b058 (diff) | |
C: Tweaks to RISC-V to get compiling to C
Revert a change to string_of_bits because it broke all the RISC-V
tests in OCaml. string_of_int (int_of_string x) is not valid because x may not
fit within an integer.
Diffstat (limited to 'riscv/Makefile')
| -rw-r--r-- | riscv/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/riscv/Makefile b/riscv/Makefile index b5f518d8..80b3ebf7 100644 --- a/riscv/Makefile +++ b/riscv/Makefile @@ -2,7 +2,8 @@ SAIL_SRCS = prelude.sail riscv_types.sail riscv_sys.sail riscv_platform.sail ris PLATFORM_OCAML_SRCS = platform.ml platform_impl.ml platform_main.ml SAIL_DIR ?= $(realpath ..) SAIL ?= $(SAIL_DIR)/sail -C_WARNINGS ?= -Wall -Wextra -Wno-unused-label -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-function +C_WARNINGS ?= +#-Wall -Wextra -Wno-unused-label -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-function C_SRCS = riscv_prelude.c riscv_platform.c export SAIL_DIR |
