Source-Changes-HG archive

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

[src/trunk]: src/share/mk ignore all -std=gnu patterns not just 99



details:   https://anonhg.NetBSD.org/src/rev/12f332e62dc1
branches:  trunk
changeset: 791042:12f332e62dc1
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 01 17:07:37 2013 +0000

description:
ignore all -std=gnu patterns not just 99

diffstat:

 share/mk/sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9f4ff4be075f -r 12f332e62dc1 share/mk/sys.mk
--- a/share/mk/sys.mk   Fri Nov 01 16:49:02 2013 +0000
+++ b/share/mk/sys.mk   Fri Nov 01 17:07:37 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sys.mk,v 1.117 2013/07/18 22:06:09 matt Exp $
+#      $NetBSD: sys.mk,v 1.118 2013/11/01 17:07:37 christos Exp $
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 #
 # This file contains the basic rules for make(1) and is read first
@@ -51,7 +51,7 @@
 #CTFMERGE      ?=      ctfmerge
 
 CXX?=          c++
-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}
+CXXFLAGS?=     ${CFLAGS:N-Wno-traditional:N-Wstrict-prototypes:N-Wmissing-prototypes:N-Wno-pointer-sign:N-ffreestanding:N-std=gnu[0-9][0-9]: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