summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-04-27 23:21:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-04-27 23:21:31 +0000
commitc5c0749719c60f93bf7cbeac90766b77431943ef (patch)
tree418a170cada44a8b41ddcf0e1b2e54dc1e4f99f6 /sys/arch
parent68bd39a8215f0f8a94a812dd041e1f0257eadb4c (diff)
Enable -Wall and friends for kernel compilations.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme68k/conf/Makefile.mvme68k5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/conf/Makefile.mvme68k b/sys/arch/mvme68k/conf/Makefile.mvme68k
index 0a27e6f6865..4bba2ac1b4c 100644
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme68k,v 1.14 2001/12/24 23:12:14 miod Exp $
+# $OpenBSD: Makefile.mvme68k,v 1.15 2002/04/27 23:21:30 miod Exp $
# This makefile is constructed from a machine description:
# config machineid
@@ -39,7 +39,8 @@ M68K= $S/arch/m68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmvme68k
-CWARNFLAGS= -Werror
+CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
+ -Wno-uninitialized -Wno-format -Wno-main
.if empty(IDENT:M-DM68060)
CMACHFLAGS= -m68020