summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-06-08 23:30:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-06-08 23:30:23 +0000
commit99c0eb1d9f6eceb0407745290d62447bfaea6fb3 (patch)
tree8092e03de21dec4648d6d43fcb3eb9646f78dac8 /sys/arch/mvmeppc
parent86405b76ce44746d426bd4615819b4bfb7d2125b (diff)
compile with -Wall -Werror -Whatever
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r--sys/arch/mvmeppc/conf/Makefile.mvmeppc9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
index be58dbc8ee8..6194a7acd2b 100644
--- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc
+++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvmeppc,v 1.6 2002/01/03 20:37:16 miod Exp $
+# $OpenBSD: Makefile.mvmeppc,v 1.7 2002/06/08 23:30:22 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -42,8 +42,11 @@ PPC= $S/arch/mvmeppc
INCLUDES= -I. -I$S/arch -I$S -nostdinc -L${DESTDIR}/usr/include
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
-Dpowerpc -D__mvmeppc__
-CWARNFLAGS= -Werror -Wreturn-type
-CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
+CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
+ -Wno-uninitialized -Wno-format -Wno-main
+CMACHFLAGS= -msoft-float -Wa,-m7400
+COPTS?= -O2
+CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS}
AFLAGS= -D_LOCORE
LINKFLAGS= -N -Ttext 100074 -e start
STRIPFLAGS= -g -X -x