Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk old-style-definitions and no-format-zero-length are...
details: https://anonhg.NetBSD.org/src/rev/3a31a8b498d8
branches: trunk
changeset: 781917:3a31a8b498d8
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 06 20:54:58 2012 +0000
description:
old-style-definitions and no-format-zero-length are invalid for c++
diffstat:
share/mk/sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9603ce68835a -r 3a31a8b498d8 share/mk/sys.mk
--- a/share/mk/sys.mk Sat Oct 06 19:39:51 2012 +0000
+++ b/share/mk/sys.mk Sat Oct 06 20:54:58 2012 +0000
@@ -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 @@
.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|}}
Home |
Main Index |
Thread Index |
Old Index