Browse Source

Allow ZT_TRACE without debug.

Adam Ierymenko 9 years ago
parent
commit
0b245b031e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      make-linux.mk

+ 3 - 0
make-linux.mk

@@ -88,6 +88,9 @@ else
 	LDFLAGS=-pie -Wl,-z,relro,-z,now
 	LDFLAGS=-pie -Wl,-z,relro,-z,now
 	STRIP=strip --strip-all
 	STRIP=strip --strip-all
 endif
 endif
+ifeq ($(ZT_TRACE),1)
+	DEFS+=-DZT_TRACE 
+endif
 
 
 # Uncomment for gprof profile build
 # Uncomment for gprof profile build
 #CFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)
 #CFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)