Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Don't duplicate -Werror here, bsd.sys.mk already pr...



details:   https://anonhg.NetBSD.org/src/rev/be665e777fcb
branches:  trunk
changeset: 765542:be665e777fcb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon May 30 03:12:43 2011 +0000

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

diffstat:

 sys/conf/Makefile.kern.inc |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r b8d627e78e46 -r be665e777fcb sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Mon May 30 03:11:15 2011 +0000
+++ b/sys/conf/Makefile.kern.inc        Mon May 30 03:12:43 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index