added -Wno-main if USE_EGCS is defined

This commit is contained in:
dbj 1998-08-28 22:50:54 +00:00
parent a538dbbf21
commit a96195b5fd
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1998/07/19 21:41:17 dbj Exp $
# $NetBSD: Makefile,v 1.4 1998/08/28 22:50:54 dbj Exp $
S= ${.CURDIR}/../../../..
@ -24,7 +24,11 @@ RELOC= 4380000
INCLUDES+= -I${.CURDIR} -I${.CURDIR}/obj.${MACHINE} -I${S}/arch -I${S} -I${S}/lib/libsa -I${S}/lib/libkern
DEFS+= -D_STANDALONE -DMC68040 -DSUPPORT_BOOTP -DSUPPORT_DHCP -DDEBUG # -DEN_DEBUG -DNETIF_DEBUG # -DSD_DEBUG -DSCSI_DEBUG
SAMISCCPPFLAGS= -DSUPPORT_DHCP -DSUPPORT_BOOTP -DINSECURE # -DBOOTP_DEBUG -DETHER_DEBUG -DNET_DEBUG # -DNETIF_DEBUG -DNFS_DEBUG -DARP_DEBUG
.if defined(USE_EGCS)
COPTS+= -Wall -Wno-main
.else
COPTS+= -Wall
.endif
CFLAGS+= -nostdinc ${INCLUDES} ${DEFS}
LIBCRT0=