Module Name:    src
Committed By:   christos
Date:           Fri Nov  1 17:07:37 UTC 2013

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

Log Message:
ignore all -std=gnu patterns not just 99


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 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.117 src/share/mk/sys.mk:1.118
--- src/share/mk/sys.mk:1.117	Thu Jul 18 18:06:09 2013
+++ src/share/mk/sys.mk	Fri Nov  1 13:07:37 2013
@@ -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 @@ CTFMFLAGS	?=	-g -t -L VERSION
 #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|}}

Reply via email to