Skip to content

Commit

Permalink
New rust requires -lm for libsail_coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas authored Nov 1, 2021
1 parent 4468578 commit 0101550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ ifneq (,$(SAILCOV))
ALL_BRANCHES = generated_definitions/c/all_branches
C_FLAGS += -DSAILCOV
SAIL_FLAGS += -c_coverage $(ALL_BRANCHES) -c_include sail_coverage.h
C_LIBS += $(SAIL_LIB_DIR)/coverage/libsail_coverage.a -lpthread -ldl
C_LIBS += $(SAIL_LIB_DIR)/coverage/libsail_coverage.a -lm -lpthread -ldl
endif

# The C simulator can be built to be linked against Spike for tandem-verification.
Expand Down

0 comments on commit 0101550

Please sign in to comment.