]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
ensure MOREFLAGS are not lost in root->tests Makefile invocation
authorYann Collet <cyan@fb.com>
Tue, 16 Jan 2018 19:50:16 +0000 (11:50 -0800)
committerYann Collet <cyan@fb.com>
Tue, 16 Jan 2018 19:50:16 +0000 (11:50 -0800)
Makefile
tests/Makefile

index 8157bdd9d9e429df488cd4db4b912d91c9c984fd..d2c71ad39e8212a25b0d9ed0ead808cbf7478981 100644 (file)
--- 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
index 95d0bf549180e179c6fba5538e171db1d7cecf7d..f3171efa51deb285d4c43ce1b8f88ae786fc0406 100644 (file)
@@ -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 :