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): document DEBUG_LINT



details:   https://anonhg.NetBSD.org/src/rev/d6b2d6234bc9
branches:  trunk
changeset: 977954:d6b2d6234bc9
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Nov 06 21:12:19 2020 +0000

description:
make(1): document DEBUG_LINT

diffstat:

 usr.bin/make/make.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a195845ada1a -r d6b2d6234bc9 usr.bin/make/make.h
--- a/usr.bin/make/make.h       Fri Nov 06 21:09:06 2020 +0000
+++ b/usr.bin/make/make.h       Fri Nov 06 21:12:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.192 2020/11/06 21:09:06 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.193 2020/11/06 21:12:19 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -516,6 +516,10 @@
     DEBUG_VAR          = 1 << 18,
     DEBUG_FOR          = 1 << 19,
 
+    /* Runs make in strict mode, with additional checks and better error
+     * handling.  This is not the default mode to preserve compatibility.
+     *
+     * XXX: This is not really a debug flag, it doesn't belong here. */
     DEBUG_LINT         = 1 << 20
 } DebugFlags;
 



Home | Main Index | Thread Index | Old Index