Module Name:    src
Committed By:   mrg
Date:           Thu Jan 31 08:42:03 UTC 2019

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

Log Message:
only a relatively small number of files that aren't in the c++98/ dir
need to be compiled in gnu++98 mode.  list them explicitly instead of
assuming anything with no -std should be gnu++98.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 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.37 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.38
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.37	Thu Jan 31 06:50:51 2019
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile	Thu Jan 31 08:42:03 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.37 2019/01/31 06:50:51 mrg Exp $
+#	$NetBSD: Makefile,v 1.38 2019/01/31 08:42:03 mrg Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
@@ -161,9 +161,22 @@ COPTS.${_s}+= -std=gnu++11
 COPTS.${_s}+= -std=gnu++14
 .endfor
 
-.for _s in ${SRCS:M*.cc}
+CXX98_ALWAYS=	collate_members_cow.cc \
+		messages_members_cow.cc \
+		monetary_members_cow.cc \
+		numeric_members_cow.cc \
+		atomicity.cc \
+		collate_members.cc \
+		messages_members.cc \
+		monetary_members.cc \
+		numeric_members.cc \
+		time_members.cc \
+		basic_file.cc \
+		c++locale.cc
+
+.for _s in ${CXX98_ALWAYS}
 . if empty(COPTS.${_s}:M-std=*)
-COPTS.${_s}+= -std=gnu++98
+#COPTS.${_s}+= -std=gnu++98
 . endif
 .endfor
 

Reply via email to