diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-02-05 23:39:26 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-02-05 23:39:26 +0100 |
commit | ac7d5e06584b31265d83d59cc2d60cf436551697 (patch) | |
tree | 5d747d229e5dc8b1eb2d20b953b048ebea262627 /Makefile | |
parent | a038787c9b51e92440cac3a38801c08f66dbb3af (diff) | |
download | yosys-ac7d5e06584b31265d83d59cc2d60cf436551697.tar.gz yosys-ac7d5e06584b31265d83d59cc2d60cf436551697.tar.bz2 yosys-ac7d5e06584b31265d83d59cc2d60cf436551697.zip |
Auto-detect TCL version
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ LDLIBS += $(shell pkg-config --silence-errors --libs libffi || echo -lffi) -ldl endif ifeq ($(ENABLE_TCL),1) -TCL_VERSION ?= tcl8.5 +TCL_VERSION ?= tcl$(shell echo 'puts [info tclversion]' | tclsh) TCL_INCLUDE ?= /usr/include/$(TCL_VERSION) CXXFLAGS += -I$(TCL_INCLUDE) -DYOSYS_ENABLE_TCL LDLIBS += -l$(TCL_VERSION) |