Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/stand/ofwboot Add -Wno-main since this is a ...



details:   https://anonhg.NetBSD.org/src/rev/ebb900c13537
branches:  trunk
changeset: 512838:ebb900c13537
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 18 05:37:55 2001 +0000

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

diffstat:

 sys/arch/macppc/stand/ofwboot/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d18e18fcf34d -r ebb900c13537 sys/arch/macppc/stand/ofwboot/Makefile
--- a/sys/arch/macppc/stand/ofwboot/Makefile    Wed Jul 18 05:34:58 2001 +0000
+++ b/sys/arch/macppc/stand/ofwboot/Makefile    Wed Jul 18 05:37:55 2001 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index