Skip to content

Commit f4e5845

Browse files
committed
ensure MOREFLAGS are not lost in root->tests Makefile invocation
1 parent 19cb37f commit f4e5845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ check: shortest
7777

7878
.PHONY: test shortest
7979
test shortest:
80-
$(MAKE) -C $(PRGDIR) allVariants MOREFLAGS="-g -DZSTD_DEBUG=1"
80+
$(MAKE) -C $(PRGDIR) allVariants MOREFLAGS+="-g -DZSTD_DEBUG=1"
8181
$(MAKE) -C $(TESTDIR) $@
8282

8383
.PHONY: examples

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ zstd-nolegacy:
9898
$(MAKE) -C $(PRGDIR) $@ MOREFLAGS+="$(DEBUGFLAGS)"
9999

100100
gzstd:
101-
$(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 MOREFLAGS="$(DEBUGFLAGS)"
101+
$(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 MOREFLAGS+="$(DEBUGFLAGS)"
102102

103103
.PHONY:
104104
zstd-dll :

0 commit comments

Comments
 (0)