Add -Wno-main since this is a standalone program.

This commit is contained in:
matt 2001-07-18 05:37:55 +00:00
parent 33d6023447
commit b499a7d558
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2000/11/16 07:36:04 matt Exp $
# $NetBSD: Makefile,v 1.21 2001/07/18 05:37:55 matt Exp $
S= ${.CURDIR}/../../../..
@ -7,7 +7,7 @@ FILES= ${PROG}.elf ${PROG}.xcf
SRCS= Locore.c boot.c ofdev.c hfs.c net.c netif_of.c vers.c
XCOFFXTRA= Xcoffxtra.c
XCOFFXTRAOBJ= Xcoffxtra.o
CFLAGS+= -msoft-float
CFLAGS+= -msoft-float -Wno-main
#CFLAGS+= -DDEBUG -DNETIF_DEBUG
CPPFLAGS+= -D_STANDALONE -DSUPPORT_DHCP -I${.CURDIR}
DBG= -Os -mmultiple