From f4e58455f67de7451b0316925e2944d7caa5f1fb Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 16 Jan 2018 11:50:16 -0800 Subject: [PATCH] ensure MOREFLAGS are not lost in root->tests Makefile invocation --- Makefile | 2 +- tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8157bdd9..d2c71ad3 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ check: shortest .PHONY: test shortest test shortest: - $(MAKE) -C $(PRGDIR) allVariants MOREFLAGS="-g -DZSTD_DEBUG=1" + $(MAKE) -C $(PRGDIR) allVariants MOREFLAGS+="-g -DZSTD_DEBUG=1" $(MAKE) -C $(TESTDIR) $@ .PHONY: examples diff --git a/tests/Makefile b/tests/Makefile index 95d0bf54..f3171efa 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -98,7 +98,7 @@ zstd-nolegacy: $(MAKE) -C $(PRGDIR) $@ MOREFLAGS+="$(DEBUGFLAGS)" gzstd: - $(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 MOREFLAGS="$(DEBUGFLAGS)" + $(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 MOREFLAGS+="$(DEBUGFLAGS)" .PHONY: zstd-dll :