mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #124 from jfng/master
build/sim/verilator: don't use --threads when $(THREADS) is unset
This commit is contained in:
commit
00ef8240ef
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ sim: mkdir $(OBJS_SIM)
|
|||
verilator -Wno-fatal -O3 --cc dut.v --top-module dut --exe \
|
||||
$(SRCS_SIM_CPP) $(OBJS_SIM) \
|
||||
--top-module dut \
|
||||
--threads $(THREADS) \
|
||||
$(if $(THREADS), --threads $(THREADS),) \
|
||||
-CFLAGS "$(CFLAGS) -I$(SRC_DIR)" \
|
||||
-LDFLAGS "$(LDFLAGS)" \
|
||||
-trace $(INC_DIR)
|
||||
|
|
Loading…
Reference in a new issue