Module Name:    src
Committed By:   maya
Date:           Wed Jun 20 02:15:13 UTC 2018

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

Log Message:
Strip -Wsystem-headers from CXXFLAGS.

GCC's C++ headers are not clean (yet). They are trying, but haven't got there
yet.

Necessary for including <atf-c++.hpp> which uses <sstream>.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 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.131 src/share/mk/sys.mk:1.132
--- src/share/mk/sys.mk:1.131	Sun May 20 14:39:53 2018
+++ src/share/mk/sys.mk	Wed Jun 20 02:15:13 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: sys.mk,v 1.131 2018/05/20 14:39:53 christos Exp $
+#	$NetBSD: sys.mk,v 1.132 2018/06/20 02:15:13 maya Exp $
 #	@(#)sys.mk	8.2 (Berkeley) 3/21/94
 #
 # This file contains the basic rules for make(1) and is read first
@@ -50,7 +50,7 @@ CTFFLAGS	?=	-g -L VERSION
 CTFMFLAGS	?=	-t -g -L VERSION
 
 CXX?=		c++
-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}
+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:N-Wsystem-headers}
 
 __ALLSRC1=	${empty(DESTDIR):?${.ALLSRC}:${.ALLSRC:S|^${DESTDIR}|^destdir|}}
 __ALLSRC2=	${empty(MAKEOBJDIR):?${__ALLSRC1}:${__ALLSRC1:S|^${MAKEOBJDIR}|^obj|}}

Reply via email to