projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01464e
)
Improved TCL_VERSION detection so it does not read .tclshrc
author
Clifford Wolf
<clifford@clifford.at>
Fri, 29 Apr 2016 08:26:22 +0000
(10:26 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 29 Apr 2016 08:26:22 +0000
(10:26 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index c7f56be3cc40ee4965dcdc3d779823132244c038..433ed4b7d1f38a42f19f381acd7bb8a39d7c7c93 100644
(file)
--- 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)