aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-07-26 10:23:58 +0100
committerDavid Shah <dave@ds0.me>2019-07-26 10:23:58 +0100
commit933db0410e096286c21772f5a2f44b03d2ed0b57 (patch)
tree2934bfb6d1cb472d1b3100099307c2f9e25d96aa /Makefile
parentd6a289d3e3a09d1f11ec1588a4b4e9d6846517e8 (diff)
downloadyosys-933db0410e096286c21772f5a2f44b03d2ed0b57.tar.gz
yosys-933db0410e096286c21772f5a2f44b03d2ed0b57.tar.bz2
yosys-933db0410e096286c21772f5a2f44b03d2ed0b57.zip
Add support for reading gzip'd input files
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d33f27b63..ea804e0d5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ ENABLE_VERIFIC := 0
ENABLE_COVER := 1
ENABLE_LIBYOSYS := 0
ENABLE_PROTOBUF := 0
+ENABLE_ZLIB := 1
# python wrappers
ENABLE_PYOSYS := 0
@@ -384,6 +385,12 @@ ifeq ($(ENABLE_GLOB),1)
CXXFLAGS += -DYOSYS_ENABLE_GLOB
endif
+ifeq ($(ENABLE_ZLIB),1)
+CXXFLAGS += -DYOSYS_ENABLE_ZLIB
+LDLIBS += -lz
+endif
+
+
ifeq ($(ENABLE_TCL),1)
TCL_VERSION ?= tcl$(shell bash -c "tclsh <(echo 'puts [info tclversion]')")
ifeq ($(OS), FreeBSD)