Enable prototype warning options.

This commit is contained in:
tsutsui 2009-01-12 06:50:31 +00:00
parent 609c3d84c1
commit c264741e4c
4 changed files with 8 additions and 4 deletions

View File

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.9 2005/12/28 08:44:27 skrll Exp $
# $NetBSD: Makefile,v 1.10 2009/01/12 06:50:31 tsutsui Exp $
S= ${.CURDIR}/../../../..
NOMAN= # defined
CFLAGS= -Os -Wall
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2006/06/29 01:45:03 lukem Exp $
# $NetBSD: Makefile,v 1.19 2009/01/12 06:52:14 tsutsui Exp $
S= ${.CURDIR}/../../../..
@ -18,6 +18,7 @@ CLEANFILES+= ${PROG}.elf ${PROG}.tmp
LINKFLAGS= -x -N -Ttext a0700000 -e _start
LINKFLAGS+= -T ${S}/arch/mips/conf/stand.ldscript
CFLAGS= -Os -ffreestanding -mmemcpy -mno-abicalls -msoft-float -G 0
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CPPFLAGS+= -DSUPPORT_USTARFS -DHAVE_CHANGEDISK_HOOK
CPPFLAGS+= -DSUN_BOOTPARAMS

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2006/06/29 01:45:03 lukem Exp $
# $NetBSD: Makefile,v 1.11 2009/01/12 06:52:15 tsutsui Exp $
PROG= bootxx
SRCS= start.S bootxx.c
@ -14,6 +14,7 @@ COMMON!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
LINKFLAGS= -x -N -Ttext a0004000 -e _start
CFLAGS= -Os -ffreestanding -mmemcpy -mno-abicalls -msoft-float -G 0
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CPPFLAGS+= -D_STANDALONE #-DBOOTXX_DEBUG
CPPFLAGS+= -nostdinc -I${COMMON} -I${.CURDIR}/../../../..

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2003/03/30 08:52:23 tsutsui Exp $
# $NetBSD: Makefile,v 1.9 2009/01/12 06:52:15 tsutsui Exp $
WARNS?= 1
S= ${.CURDIR}/../../../..
@ -6,6 +6,7 @@ S= ${.CURDIR}/../../../..
OBJS= romcalls.o
CFLAGS= -Os -ffreestanding -mmemcpy -mno-abicalls -msoft-float -G 0
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CPPFLAGS+= -D_STANDALONE #-DBOOT_DEBUG
CPPFLAGS+= -DHAVE_CHANGEDISK_HOOK