Merge pull request #957 from pftbest/fix_fst

Fix compile error when FST traces are enabled on macOS.
This commit is contained in:
enjoy-digital 2021-07-13 10:38:40 +02:00 committed by GitHub
commit df67b65a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,10 +7,11 @@ ifeq ($(UNAME_S),Darwin)
LDFLAGS += -lpthread -ljson-c -lm -lstdc++ -ldl -levent
else
CC ?= gcc
CFLAGS += -Wall -$(OPT_LEVEL) -ggdb $(if $(COVERAGE), -DVM_COVERAGE) $(if $(TRACE_FST), -DTRACE_FST)
CFLAGS += -ggdb
LDFLAGS += -lpthread -Wl,--no-as-needed -ljson-c -lm -lstdc++ -Wl,--no-as-needed -ldl -levent
endif
CFLAGS += -Wall -$(OPT_LEVEL) $(if $(COVERAGE), -DVM_COVERAGE) $(if $(TRACE_FST), -DTRACE_FST)
CC_SRCS ?= "--cc sim.v"