I am trying to compile my FreeBSD custom kernel, but I get warnings: for example about the initialization of certain variables. In normal circumstances I think such warnings shouldn’t stop the compile process, but in FreeBSD they do!
How can I change the settings so the warnings don’t stop the compiling of the FreeBSD kernel?
Quoting from Building FreeBSD :
As of r233419, head should build without -Werror bailing out the build, e.g. there should be no unexpected warnings. If you are attempting to build something earlier, or encounter -Werror bailouts anyway, add the following to /etc/make.conf or /etc/src.conf, as appropriate: