Module Name:    src
Committed By:   joerg
Date:           Mon May 30 03:12:43 UTC 2011

Modified Files:
        src/sys/conf: Makefile.kern.inc

Log Message:
Don't duplicate -Werror here, bsd.sys.mk already provides it


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.137 src/sys/conf/Makefile.kern.inc:1.138
--- src/sys/conf/Makefile.kern.inc:1.137	Thu May 26 12:56:30 2011
+++ src/sys/conf/Makefile.kern.inc	Mon May 30 03:12:43 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.137 2011/05/26 12:56:30 joerg Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.138 2011/05/30 03:12:43 joerg Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -63,9 +63,6 @@
 DBG=		# might contain unwanted -Ofoo
 DEFWARNINGS?=	yes
 .if (${DEFWARNINGS} == "yes")
-. if !defined(NOGCCERROR)
-CWARNFLAGS+=	-Werror
-. endif
 CWARNFLAGS+=	-Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
 CWARNFLAGS+=	-Wmissing-prototypes -Wstrict-prototypes
 CWARNFLAGS+=	-Wswitch -Wshadow

Reply via email to