diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-04-29 10:26:22 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-04-29 10:26:22 +0200 |
commit | 06d35ea9425dbfeff8bcd0d842a31d22843b937b (patch) | |
tree | eb84ee12d6b0a2078e7d2d874c4c522745f2a124 | |
parent | e01464e2ac2bf3bd2752e10b48d2fc3ffc4fdf9e (diff) | |
download | yosys-06d35ea9425dbfeff8bcd0d842a31d22843b937b.tar.gz yosys-06d35ea9425dbfeff8bcd0d842a31d22843b937b.tar.bz2 yosys-06d35ea9425dbfeff8bcd0d842a31d22843b937b.zip |
Improved TCL_VERSION detection so it does not read .tclshrc
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |