Module Name: src
Committed By: tsutsui
Date: Sun May 29 10:19:09 UTC 2011
Modified Files:
src/sys/arch/sun68k/stand: Makefile.inc
Log Message:
Use WARNS?=2 to pull warnings flags.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sun68k/stand/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sun68k/stand/Makefile.inc
diff -u src/sys/arch/sun68k/stand/Makefile.inc:1.17 src/sys/arch/sun68k/stand/Makefile.inc:1.18
--- src/sys/arch/sun68k/stand/Makefile.inc:1.17 Sun May 29 10:06:34 2011
+++ src/sys/arch/sun68k/stand/Makefile.inc Sun May 29 10:19:09 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.17 2011/05/29 10:06:34 tsutsui Exp $
+# $NetBSD: Makefile.inc,v 1.18 2011/05/29 10:19:09 tsutsui Exp $
# Must have S=/usr/src/sys (or equivalent)
# But note: this is w.r.t. a subdirectory
@@ -8,6 +8,8 @@
.include <bsd.own.mk>
+WARNS?= 2
+
LIBSA!=cd ${.CURDIR}/../libsa && ${PRINTOBJDIR}
MDEC_DIR?=/usr/mdec
@@ -19,7 +21,6 @@
CPUFLAGS= -mc68000 -Wa,-mc68010
COPTS= -Os -fno-defer-pop -ffreestanding
CFLAGS= -msoft-float
-CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
SRTOBJ= ${LIBSA}/SRT0.o ${LIBSA}/SRT1.o