summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-03 11:20:12 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-03 11:20:12 -0800
commit0b245b031e846cd6fe7968a7409ed39c61d6a77f (patch)
tree86451311730c4ea69def56809e290caa2d2e6153
parenta42d714a871349e29900634d59dcb507e902802c (diff)
downloadinfinitytier-0b245b031e846cd6fe7968a7409ed39c61d6a77f.tar.gz
infinitytier-0b245b031e846cd6fe7968a7409ed39c61d6a77f.zip
Allow ZT_TRACE without debug.
-rw-r--r--make-linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 5e0a2072..eddef7fc 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -88,6 +88,9 @@ else
LDFLAGS=-pie -Wl,-z,relro,-z,now
STRIP=strip --strip-all
endif
+ifeq ($(ZT_TRACE),1)
+ DEFS+=-DZT_TRACE
+endif
# Uncomment for gprof profile build
#CFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)