Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): remove redundant MAKEFLAGS from subdir...



details:   https://anonhg.NetBSD.org/src/rev/8e391ca2f1f2
branches:  trunk
changeset: 943230:8e391ca2f1f2
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Aug 28 20:57:54 2020 +0000

description:
make(1): remove redundant MAKEFLAGS from subdir make

The make flags are passed via the environment, not via the command line.
This is not as obvious and visible, but it works.

diffstat:

 usr.bin/make/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8394e1fe52e2 -r 8e391ca2f1f2 usr.bin/make/Makefile
--- a/usr.bin/make/Makefile     Fri Aug 28 20:23:20 2020 +0000
+++ b/usr.bin/make/Makefile     Fri Aug 28 20:57:54 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.95 2020/08/27 19:09:37 rillig Exp $
+#      $NetBSD: Makefile,v 1.96 2020/08/28 20:57:54 rillig Exp $
 #      @(#)Makefile    5.2 (Berkeley) 12/28/90
 
 PROG=  make
@@ -179,7 +179,7 @@
 .endif
 
 accept sync-mi: .MAKE
-       cd ${.CURDIR}/unit-tests && ${.MAKE} ${MAKEFLAGS} ${.TARGET}
+       cd ${.CURDIR}/unit-tests && ${.MAKE} ${.TARGET}
 
 retest:
        ${.MAKE} -C ${.CURDIR}/unit-tests cleandir



Home | Main Index | Thread Index | Old Index