From: cyan4973 Date: Tue, 17 Jul 2018 17:19:48 +0000 (+0200) Subject: fix make test on Linux X-Git-Tag: v0.0.29~52^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0840d02ecf74eae656e0df0d900000d9b0154cde;p=thirdparty%2Fzstd.git fix make test on Linux MOREFLAGS+= doesn't work on Linux --- diff --git a/Makefile b/Makefile index 0f2fcc958..89c5a418d 100644 --- a/Makefile +++ b/Makefile @@ -63,8 +63,9 @@ zlibwrapper: $(MAKE) -C $(ZWRAPDIR) test .PHONY: test +test: MOREFLAGS += -g -DDEBUGLEVEL=1 -Werror test: - MOREFLAGS+="-g -DDEBUGLEVEL=1 -Werror" $(MAKE) -C $(PRGDIR) allVariants + MOREFLAGS="$(MOREFLAGS)" $(MAKE) -C $(PRGDIR) allVariants $(MAKE) -C $(TESTDIR) $@ .PHONY: shortest