Merge pull request #957 from pftbest/fix_fst
Fix compile error when FST traces are enabled on macOS.
This commit is contained in:
commit
df67b65a0a
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue