Kyle Evans fe815331bb build: provide a default WARNS for all in-tree builds
The current default is provided in various Makefile.inc in some top-level
directories and covers a good portion of the tree, but doesn't cover parts
of the build a little deeper (e.g. libcasper).

Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that
variable is defined. This lets us relatively cleanly provide a default WARNS
no matter where you're building in the src tree without breaking things
outside of the tree.

Crunchgen has been updated as a bootstrap tool to work on this change
because it needs r365605 at a minimum to succeed. The cleanup necessary to
successfully walk over this change on WITHOUT_CLEAN builds has been added.

There is a supplemental project to this to list all of the warnings that are
encountered when the environment has WARNS=6 NO_WERROR=yes:
https://warns.kevans.dev -- this project will hopefully eventually go away
in favor of CI doing a much better job than it.

Reviewed by:	emaste, brooks, ngie (all earlier version)
Reviewed by:	emaste, arichardson (depend-cleanup.sh change)
Differential Revision:	https://reviews.freebsd.org/D26455
2020-09-18 17:17:46 +00:00
..
2020-06-13 09:16:07 +00:00
2020-09-11 13:28:37 +00:00
2020-05-20 20:58:48 +00:00
2020-06-20 11:20:16 +00:00
2020-06-23 10:27:41 +00:00
2020-07-27 16:51:23 +00:00
2020-05-20 20:58:48 +00:00
2020-09-01 14:52:39 +00:00
2020-09-14 16:18:53 +00:00
2020-06-29 15:15:14 +00:00
2020-05-21 17:34:31 +00:00
2020-06-20 11:27:59 +00:00
2020-06-18 18:09:16 +00:00
2020-06-25 16:46:27 +00:00
2020-09-11 13:28:37 +00:00
2020-03-29 19:16:14 +00:00
2020-09-11 13:28:37 +00:00
2020-06-18 08:26:26 +00:00
2020-07-01 16:33:32 +00:00
2020-06-27 11:19:18 +00:00
2020-09-05 04:20:29 +00:00
2020-06-20 11:24:29 +00:00
2020-06-18 15:14:10 +00:00
2020-03-26 17:58:52 +00:00
2020-06-23 10:22:58 +00:00
2020-07-07 16:07:39 +00:00
2020-07-07 17:02:23 +00:00
2020-07-14 22:43:40 +00:00
2020-08-30 17:37:56 +00:00
2020-09-11 13:28:37 +00:00
2020-09-09 08:38:47 +00:00
2020-08-24 17:57:08 +00:00
2020-08-30 17:40:59 +00:00
2020-06-11 15:14:39 +00:00
2020-07-14 01:54:24 +00:00
2020-09-11 13:28:37 +00:00
2020-09-14 16:18:53 +00:00