Fix compile error when FST traces are enabled on macOS.
Compile options should be the same for all platforms.
This commit is contained in:
parent
23afca3de8
commit
35204225e8
|
@ -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