about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorMartinNowack <martin.nowack@gmail.com>2016-02-29 14:14:43 +0100
committerMartinNowack <martin.nowack@gmail.com>2016-02-29 14:14:43 +0100
commitce1dd5a7f3de7b536a9ff266a9231b44a053fe95 (patch)
tree47dd5e214efaa3a28333a071c30a35895a03b5ed /tools
parent0fc86ca9e28cc411cb5e00afa22c32e77aca7e57 (diff)
parent18f01e9f6d5471d176091f24671bef3eac0293ac (diff)
downloadklee-ce1dd5a7f3de7b536a9ff266a9231b44a053fe95.tar.gz
Merge pull request #344 from MartinNowack/feat_malloc
Add support for tcmalloc
Diffstat (limited to 'tools')
-rw-r--r--tools/kleaver/Makefile4
-rw-r--r--tools/klee/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/kleaver/Makefile b/tools/kleaver/Makefile
index 08249444..1631dda6 100644
--- a/tools/kleaver/Makefile
+++ b/tools/kleaver/Makefile
@@ -28,3 +28,7 @@ ifneq ($(ENABLE_Z3),0)
 endif
 
 include $(PROJ_SRC_ROOT)/MetaSMT.mk
+
+ifeq ($(HAVE_TCMALLOC),1)
+  LIBS += $(TCMALLOC_LIB)
+endif
diff --git a/tools/klee/Makefile b/tools/klee/Makefile
index e3364e77..676507e0 100644
--- a/tools/klee/Makefile
+++ b/tools/klee/Makefile
@@ -29,3 +29,7 @@ ifneq ($(ENABLE_Z3),0)
 endif
 
 include $(PROJ_SRC_ROOT)/MetaSMT.mk
+
+ifeq ($(HAVE_TCMALLOC),1)
+  LIBS += $(TCMALLOC_LIB)
+endif