bsd.sys.mk: Implement WARNS_AUDIT option.
commitc3c55883c35bc4a6ebdf01eab8725c83884536c9
authorzrj <rimvydas.jasinskas@gmail.com>
Sun, 28 Jan 2018 19:00:37 +0000 (28 21:00 +0200)
committerzrj <zrj@dragonflybsd.org>
Sun, 28 Jan 2018 19:35:44 +0000 (28 21:35 +0200)
tree22ca7368add8485453dd3abf412f145e9b080901
parent9ff1f0cf8522ad79d9b966e9b313d41a7111be54
bsd.sys.mk: Implement WARNS_AUDIT option.

The buildworld is expected not to pass this mode, so make(1) should
be invoked with '-k'. Strictly just as convenience for developers.
This is similar to FORMAT_AUDIT, for extra diagnostics by compiler at a
given WARNS level. The -Wall and -Wextra are getting bit too crowded.

While there, document FORMAT_AUDIT too.

In-discussion-with: swildner
share/man/man5/make.conf.5
share/mk/bsd.sys.mk