mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-08 15:13:24 +00:00
Improved TCL_VERSION detection so it does not read .tclshrc
This commit is contained in:
parent
e01464e2ac
commit
06d35ea942
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -194,7 +194,7 @@ LDLIBS += $(shell $(PKG_CONFIG) --silence-errors --libs libffi || echo -lffi) -l
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ENABLE_TCL),1)
|
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)
|
TCL_INCLUDE ?= /usr/include/$(TCL_VERSION)
|
||||||
CXXFLAGS += -I$(TCL_INCLUDE) -DYOSYS_ENABLE_TCL
|
CXXFLAGS += -I$(TCL_INCLUDE) -DYOSYS_ENABLE_TCL
|
||||||
LDLIBS += -l$(TCL_VERSION)
|
LDLIBS += -l$(TCL_VERSION)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue