summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-11 10:35:51 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-11 10:35:51 +0100
commit437646b8bf5eed344b4132b96b459a1572f19ce9 (patch)
tree7981d7b0357ac262a8bc60bba14661098710fbed /Makefile
parentc1027b36455cf47d336d42e2e42a63f096f7e772 (diff)
add optional malloc tracing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fbf7735..a1fa924 100644
--- a/Makefile
+++ b/Makefile
@@ -125,6 +125,11 @@ ifeq (${ostream}, 1)
COMMON_FLAGS += -DWITH_OSTREAM
endif
+ifeq (${trace_malloc}, 1)
+ CXX_TARGETS += src/lib/mpmalloc.cc
+ COMMON_FLAGS += -DMULTIPASS_TRACE_MALLOC
+endif
+
include src/arch/${arch}/Makefile.inc
stack: default