From 2e433dd1003626b90a5c71695815d2a9daf93bfe Mon Sep 17 00:00:00 2001 From: Scott Johnson Date: Tue, 17 Sep 2019 15:24:06 -0700 Subject: Run Sail with -dno_cast even when it comes from opam package --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2c8981a..02257ac 100644 --- a/Makefile +++ b/Makefile @@ -76,10 +76,12 @@ SAIL_COQ_SRCS = $(addprefix model/,$(SAIL_ARCH_SRCS) $(SAIL_SEQ_INST_SRCS) $(SA PLATFORM_OCAML_SRCS = $(addprefix ocaml_emulator/,platform.ml platform_impl.ml riscv_ocaml_sim.ml) +SAIL_FLAGS += -dno_cast + # Attempt to work with either sail from opam or built from repo in SAIL_DIR ifneq ($(SAIL_DIR),) # Use sail repo in SAIL_DIR -SAIL:=$(SAIL_DIR)/sail -dno_cast +SAIL:=$(SAIL_DIR)/sail export SAIL_DIR else # Use sail from opam package -- cgit v1.1