summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/globals.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-04-29 14:37:44 +0000
committerharti <harti@FreeBSD.org>2005-04-29 14:37:44 +0000
commit0dc78c5fd6526b3f2a71681dd5108eda768eb7a9 (patch)
tree59d4e7054572274f51ee7f8df8fcc8d3bdf73937 /usr.bin/make/globals.h
parent3a568cbe4a3fb67af9a46789a00206482e9c8207 (diff)
downloadFreeBSD-src-0dc78c5fd6526b3f2a71681dd5108eda768eb7a9.zip
FreeBSD-src-0dc78c5fd6526b3f2a71681dd5108eda768eb7a9.tar.gz
Implement a pseudo-target .WARN that allows toggeling the warning flags
for the current make. This does not override flags specified on the command line and these settings are not passed to sub-makes.
Diffstat (limited to 'usr.bin/make/globals.h')
-rw-r--r--usr.bin/make/globals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/make/globals.h b/usr.bin/make/globals.h
index 9528272..fa6c260 100644
--- a/usr.bin/make/globals.h
+++ b/usr.bin/make/globals.h
@@ -121,6 +121,8 @@ extern Boolean oldVars; /* Do old-style variable substitution */
extern int debug;
/* warning flags */
-extern uint32_t warnflags;
+extern uint32_t warn_cmd; /* positive warning flags on command line */
+extern uint32_t warn_nocmd; /* negative warning flags on command line */
+extern uint32_t warn_flags; /* current warning flags */
#endif /* globals_h_1c1edb96 */
OpenPOWER on IntegriCloud