From 97c7e7fe8d379d7f56b258840138661c765b0133 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 9 Sep 2001 22:53:02 +0000 Subject: [PATCH] Always include -Wno-main --- sys/arch/vax/conf/Makefile.vax | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax index 71ae7aae90ac..84602757c837 100644 --- a/sys/arch/vax/conf/Makefile.vax +++ b/sys/arch/vax/conf/Makefile.vax @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.vax,v 1.59 2001/06/25 05:12:01 matt Exp $ +# $NetBSD: Makefile.vax,v 1.60 2001/09/09 22:53:02 matt Exp $ # Makefile for NetBSD # @@ -41,13 +41,10 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT \ -D_VAX_INLINE_ CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \ - -Wpointer-arith + -Wpointer-arith -Wno-main # XXX Delete -Wuninitialized for now, since the compiler doesn't # XXX always get it right. --thorpej CWARNFLAGS+= -Wno-uninitialized -.if (${HAVE_EGCS} != "") -CWARNFLAGS+= -Wno-main -.endif CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} .if (${HAVE_EGCS} != "") CFLAGS+= -mno-pic