Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make For .MAKE.LEVEL.ENV use VAR_CMD so updates are ...



details:   https://anonhg.NetBSD.org/src/rev/d1183ea7aff2
branches:  trunk
changeset: 787861:d1183ea7aff2
user:      sjg <sjg%NetBSD.org@localhost>
date:      Tue Jul 09 18:44:41 2013 +0000

description:
For .MAKE.LEVEL.ENV use VAR_CMD so updates are ignored

diffstat:

 usr.bin/make/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r fd2d13f727f1 -r d1183ea7aff2 usr.bin/make/main.c
--- a/usr.bin/make/main.c       Tue Jul 09 18:13:14 2013 +0000
+++ b/usr.bin/make/main.c       Tue Jul 09 18:44:41 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.217 2013/07/09 18:13:14 sjg Exp $   */
+/*     $NetBSD: main.c,v 1.218 2013/07/09 18:44:41 sjg Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.217 2013/07/09 18:13:14 sjg Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.218 2013/07/09 18:44:41 sjg Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
@@ -81,7 +81,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.217 2013/07/09 18:13:14 sjg Exp $");
+__RCSID("$NetBSD: main.c,v 1.218 2013/07/09 18:44:41 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -933,7 +933,7 @@
        Var_Set("MFLAGS", "", VAR_GLOBAL, 0);
        Var_Set(".ALLTARGETS", "", VAR_GLOBAL, 0);
        /* some makefiles need to know this */
-       Var_Set(MAKE_LEVEL ".ENV", MAKE_LEVEL_ENV, VAR_GLOBAL, 0);
+       Var_Set(MAKE_LEVEL ".ENV", MAKE_LEVEL_ENV, VAR_CMD, 0);
 
        /*
         * Set some other useful macros



Home | Main Index | Thread Index | Old Index