mirror of https://github.com/YosysHQ/yosys.git
Improved TCL_VERSION detection so it does not read .tclshrc
This commit is contained in:
parent
e01464e2ac
commit
06d35ea942
2
Makefile
2
Makefile
|
@ -194,7 +194,7 @@ LDLIBS += $(shell $(PKG_CONFIG) --silence-errors --libs libffi || echo -lffi) -l
|
|||
endif
|
||||
|
||||
ifeq ($(ENABLE_TCL),1)
|
||||
TCL_VERSION ?= tcl$(shell echo 'puts [info tclversion]' | tclsh)
|
||||
TCL_VERSION ?= tcl$(shell bash -c "tclsh <(echo 'puts [info tclversion]')")
|
||||
TCL_INCLUDE ?= /usr/include/$(TCL_VERSION)
|
||||
CXXFLAGS += -I$(TCL_INCLUDE) -DYOSYS_ENABLE_TCL
|
||||
LDLIBS += -l$(TCL_VERSION)
|
||||
|
|
Loading…
Reference in New Issue