Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libstdc++-v3 only a relatively small n...



details:   https://anonhg.NetBSD.org/src/rev/b32589e5afb8
branches:  trunk
changeset: 448362:b32589e5afb8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jan 31 08:42:03 2019 +0000

description:
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.

diffstat:

 external/gpl3/gcc/lib/libstdc++-v3/Makefile |  19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 80bef592da65 -r b32589e5afb8 external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Thu Jan 31 06:59:31 2019 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Thu Jan 31 08:42:03 2019 +0000
@@ -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++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
 



Home | Main Index | Thread Index | Old Index