From 9238af826dc94c189e2c18b4e18ca9e629a8e70d Mon Sep 17 00:00:00 2001 From: David Brownlee Date: Wed, 28 Oct 2020 16:18:29 +0000 Subject: [PATCH] Crank up the WARNS level when building on a BSD toolchain This, for example, would pick up on inadvertent switch fall throughs --- Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.inc b/Makefile.inc index 489d8b4..cb2d8e6 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -4,6 +4,8 @@ USE_FORT?=yes # network server +WARNS= 5 + LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR} CPPFLAGS+=-I${.CURDIR}/../common DPADD+= ${LIBCOMMON}/libcommon.a