Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sun68k/stand Use WARNS?=2 to pull warnings flags.



details:   https://anonhg.NetBSD.org/src/rev/7e4c289a010b
branches:  trunk
changeset: 765520:7e4c289a010b
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun May 29 10:19:09 2011 +0000

description:
Use WARNS?=2 to pull warnings flags.

diffstat:

 sys/arch/sun68k/stand/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 75aa1317185d -r 7e4c289a010b sys/arch/sun68k/stand/Makefile.inc
--- a/sys/arch/sun68k/stand/Makefile.inc        Sun May 29 10:15:30 2011 +0000
+++ b/sys/arch/sun68k/stand/Makefile.inc        Sun May 29 10:19:09 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index