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
|
LDFLAGS += -lpthread -ljson-c -lm -lstdc++ -ldl -levent
|
||||||
else
|
else
|
||||||
CC ?= gcc
|
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
|
LDFLAGS += -lpthread -Wl,--no-as-needed -ljson-c -lm -lstdc++ -Wl,--no-as-needed -ldl -levent
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS += -Wall -$(OPT_LEVEL) $(if $(COVERAGE), -DVM_COVERAGE) $(if $(TRACE_FST), -DTRACE_FST)
|
||||||
|
|
||||||
CC_SRCS ?= "--cc sim.v"
|
CC_SRCS ?= "--cc sim.v"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue