File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ include $(EVERPARSE_SRC_PATH)/common.Makefile
1818
1919KRML_OPTS += -warn-error @4@6
2020
21+ ifeq ($(OS ) ,Darwin)
22+ KRML_OPTS += -ccopt -Wno-tautological-constant-out-of-range-compare
23+ endif
24+
2125KRML =$(KRML_HOME ) /krml -fstar $(FSTAR_EXE ) $(KRML_OPTS )
2226
2327EXAMPLES =Example3 ExampleConstInt32le Example2 Example5 Example7 Example8 Example9 Example10 Example11 Example12 ExampleDepLen
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ FSTAR = $(FSTAR_EXE) $(FSTAR_OPTIONS)
3232
3333HEADERS = $(addprefix -add-include ,'"krml/internal/compat.h"')
3434
35+ ifeq ($(OS ) ,Darwin)
36+ KRML_OPTS += -ccopt -Wno-tautological-constant-out-of-range-compare
37+ endif
38+
3539# -Wno-tautological-overlap-compare because of T32
3640KRML = $(KRML_HOME ) /krml \
3741 -fstar $(FSTAR_EXE ) \
You can’t perform that action at this time.
0 commit comments