zstd binary, when compiled from /tests, enables debug mode

adds ZSTD_DEBUG=1 and -g
This commit is contained in:
Yann Collet 2017-12-12 18:20:04 -08:00
parent e28305fcca
commit e9dc0ab884

View File

@ -76,16 +76,16 @@ allnothread: fullbench fuzzer paramgrill datagen decodecorpus
dll: fuzzer-dll zstreamtest-dll dll: fuzzer-dll zstreamtest-dll
zstd: zstd:
$(MAKE) -C $(PRGDIR) $@ $(MAKE) -C $(PRGDIR) $@ MOREFLAGS="$(DEBUGFLAGS)"
zstd32: zstd32:
$(MAKE) -C $(PRGDIR) $@ $(MAKE) -C $(PRGDIR) $@ MOREFLAGS="$(DEBUGFLAGS)"
zstd-nolegacy: zstd-nolegacy:
$(MAKE) -C $(PRGDIR) $@ $(MAKE) -C $(PRGDIR) $@ MOREFLAGS="$(DEBUGFLAGS)"
gzstd: gzstd:
$(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 $(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 MOREFLAGS="$(DEBUGFLAGS)"
fullbench32: CPPFLAGS += -m32 fullbench32: CPPFLAGS += -m32
fullbench fullbench32 : CPPFLAGS += $(MULTITHREAD_CPP) fullbench fullbench32 : CPPFLAGS += $(MULTITHREAD_CPP)