aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-05-01 10:07:21 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-05-01 10:07:21 -0700
commit3a85e40f42f4fa52934562135571cfcba35af80e (patch)
tree0de9d81356e771a246d86da68f625c461942f246
parentfb87022dca2bd8366cb006951e3f59c9f0540476 (diff)
parent06d35ea9425dbfeff8bcd0d842a31d22843b937b (diff)
downloadyosys-3a85e40f42f4fa52934562135571cfcba35af80e.tar.gz
yosys-3a85e40f42f4fa52934562135571cfcba35af80e.tar.bz2
yosys-3a85e40f42f4fa52934562135571cfcba35af80e.zip
Merge https://github.com/cliffordwolf/yosys
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7f56be3c..433ed4b7d 100644
--- a/Makefile
+++ b/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)