On Sat, Feb 09, 2019 at 11:53:57AM +0100, Michael van Elst wrote: > And that's why I see it for modules: > > Index: sys/modules/Makefile.inc > =================================================================== > RCS file: /cvsroot/src/sys/modules/Makefile.inc,v > retrieving revision 1.6 > diff -p -u -r1.6 Makefile.inc > --- sys/modules/Makefile.inc 11 Sep 2011 18:38:02 -0000 1.6 > +++ sys/modules/Makefile.inc 9 Feb 2019 10:53:03 -0000 > @@ -1,7 +1,7 @@ > # $NetBSD: Makefile.inc,v 1.6 2011/09/11 18:38:02 mbalmer Exp $ > > S!= cd ${.PARSEDIR}/..;pwd > -CPPFLAGS+= -I${NETBSDSRCDIR}/common/include > +CPPFLAGS+= -I${NETBSDSRCDIR}/common/include -DDIAGNOSTIC > USE_FORT= no > WARNS?= 3
How about you commit that for HEAD and we remove it on branches for the first non-beta build (like we remove options DIAGOSTIC from lots of kernels)? Martin