mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/sim: add -Wl,--no-as-needed to LDFLAGS for Ubuntu 16.04 support (thanks kamejoko80)
This commit is contained in:
parent
80c3dc41d3
commit
a0d95766ac
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ include variables.mak
|
|||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -$(OPT_LEVEL) -ggdb $(if $(COVERAGE), -DVM_COVERAGE)
|
||||
LDFLAGS = -lpthread -ljson-c -lm -lstdc++ -ldl -levent
|
||||
LDFLAGS = -lpthread -Wl,--no-as-needed -ljson-c -lm -lstdc++ -Wl,--no-as-needed -ldl -levent
|
||||
|
||||
CC_SRCS ?= "--cc dut.v"
|
||||
|
||||
|
|
Loading…
Reference in a new issue