Module Name:    src
Committed By:   mrg
Date:           Sun Feb 17 00:05:11 UTC 2019

Modified Files:
        src/external/gpl3/gcc/lib/libstdc++-v3: Makefile

Log Message:
apply -std=gnu++98 to some more files.

state that some hard coded stuff here should be pulled out with mknative.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/lib/libstdc++-v3/Makefile
diff -u src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.42 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.43
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.42	Fri Feb  8 03:59:34 2019
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile	Sun Feb 17 00:05:11 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.42 2019/02/08 03:59:34 mrg Exp $
+#	$NetBSD: Makefile,v 1.43 2019/02/17 00:05:11 mrg Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
@@ -147,6 +147,7 @@ SRCS+=	c98-codecvt.cc c11-codecvt.cc
 .include "../Makefile.gthr"
 
 # XXX Make this either/or, not one, and maybe another
+# XXX pull out libstdc++/Makefile/cxx11_sources for many of these.
 CXX11_ALWAYS=	localename.cc \
 		locale_init.cc \
 		compatibility-c++0x.cc \
@@ -160,6 +161,15 @@ CXX11_ALWAYS=	localename.cc \
 COPTS.${_s}+= -std=gnu++11
 .endfor
 
+# XXX pull out libstdc++/Makefile/cxx98_sources for many of these.
+CXX98_ALWAYS=	compatibility.cc \
+		compatibility-debug_list.cc \
+		compatibility-debug_list-2.cc
+
+.for _s in ${CXX98_ALWAYS}
+COPTS.${_s}+= -std=gnu++98
+.endfor
+
 COPTS.cp-demangle.c += -Wno-unused-function
 
 COPTS.ext-inst.cc+= -Wno-error

Reply via email to