summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-05 19:30:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-05 19:30:20 (GMT)
commit96090283e0ba646c599b6a15834bdbb8dd731b4a (patch)
tree5cca5a4dbe82d1817ab89dd3e2b57e483aca8ee6 /Makefile
parent65e1449614d3af34a022007cd335d0e563dea721 (diff)
parentef49e05a6431727b54c399d1f3636c76ac682d61 (diff)
downloadgit-96090283e0ba646c599b6a15834bdbb8dd731b4a.zip
git-96090283e0ba646c599b6a15834bdbb8dd731b4a.tar.gz
git-96090283e0ba646c599b6a15834bdbb8dd731b4a.tar.bz2
Merge branch 'jk/make-findstring-makeflags-fix'
Customization to change the behaviour with "make -w" and "make -s" in our Makefile was broken when they were used together. * jk/make-findstring-makeflags-fix: Makefile: fix MAKEFLAGS tests with multiple flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1d10225..4908c86 100644
--- a/Makefile
+++ b/Makefile
@@ -1466,13 +1466,13 @@ endif
QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir
QUIET_SUBDIR1 =
-ifneq ($(findstring $(MAKEFLAGS),w),w)
+ifneq ($(findstring w,$(MAKEFLAGS)),w)
PRINT_DIR = --no-print-directory
else # "make -w"
NO_SUBDIR = :
endif
-ifneq ($(findstring $(MAKEFLAGS),s),s)
+ifneq ($(findstring s,$(MAKEFLAGS)),s)
ifndef V
QUIET_CC = @echo ' ' CC $@;
QUIET_AR = @echo ' ' AR $@;