diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-05 12:30:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-05 12:30:20 -0700 |
commit | 96090283e0ba646c599b6a15834bdbb8dd731b4a (patch) | |
tree | 5cca5a4dbe82d1817ab89dd3e2b57e483aca8ee6 | |
parent | 65e1449614d3af34a022007cd335d0e563dea721 (diff) | |
parent | ef49e05a6431727b54c399d1f3636c76ac682d61 (diff) | |
download | git-96090283e0ba646c599b6a15834bdbb8dd731b4a.tar.gz git-96090283e0ba646c599b6a15834bdbb8dd731b4a.tar.xz |
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
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 $@; |