Module Name:    src
Committed By:   christos
Date:           Sat Oct  6 20:54:58 UTC 2012

Modified Files:
        src/share/mk: sys.mk

Log Message:
old-style-definitions and no-format-zero-length are invalid for c++


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/share/mk/sys.mk

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

Modified files:

Index: src/share/mk/sys.mk
diff -u src/share/mk/sys.mk:1.109 src/share/mk/sys.mk:1.110
--- src/share/mk/sys.mk:1.109	Fri Jun 22 16:32:35 2012
+++ src/share/mk/sys.mk	Sat Oct  6 16:54:58 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: sys.mk,v 1.109 2012/06/22 20:32:35 abs Exp $
+#	$NetBSD: sys.mk,v 1.110 2012/10/06 20:54:58 christos Exp $
 #	@(#)sys.mk	8.2 (Berkeley) 3/21/94
 
 unix?=		We run NetBSD.
@@ -53,7 +53,7 @@ CFLAGS		+=	-g
 .endif
 
 CXX?=		c++
-CXXFLAGS?=	${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu99}
+CXXFLAGS?=	${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu99:N-Wold-style-definition:N-Wno-format-zero-length}
 
 __ALLSRC1=	${empty(DESTDIR):?${.ALLSRC}:${.ALLSRC:S|^${DESTDIR}|^destdir|}}
 __ALLSRC2=	${empty(MAKEOBJDIR):?${__ALLSRC1}:${__ALLSRC1:S|^${MAKEOBJDIR}|^obj|}}

Reply via email to