freebsd-dev/targets
Alex Richardson 94ffff68c8 Stop passing MK_WARNS=no for bootstrap tools
I got annoyed by the number of warnings that the CheriBSD build was
emitting. It turns out that we are emitting lots of warnings during
bootstrap because bootstrap tools are built with the default compiler
flags and ignore the warnings flags that are set in bsd.sys.mk.

Looking at git blame, it appears that MK_WARNS=no has been passed since
rS112869, replacing the -DNO_WERROR option that was added in rS87775.

This commit changes MK_WARNS=no back to -DNO_WERROR. We need to pass
-DNO_WERROR, since the system compiler might have new warnings that we
don't know about yet, and we shouldn't fail the build in that case.

Reviewed By:	imp, brooks
Differential Revision: https://reviews.freebsd.org/D27598
2021-01-07 09:31:03 +00:00
..
pseudo Stop passing MK_WARNS=no for bootstrap tools 2021-01-07 09:31:03 +00:00
Makefile Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
Makefile.inc Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
Makefile.xtras show-valid-targets: Indent each target 2 spaces. 2016-03-30 22:26:14 +00:00