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 apply -std=gnu++98 to som...
details: https://anonhg.NetBSD.org/src/rev/6c0e55912ea1
branches: trunk
changeset: 839368:6c0e55912ea1
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Feb 17 00:05:11 2019 +0000
description:
apply -std=gnu++98 to some more files.
state that some hard coded stuff here should be pulled out with mknative.
diffstat:
external/gpl3/gcc/lib/libstdc++-v3/Makefile | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 6ac9d4f3d585 -r 6c0e55912ea1 external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile Sat Feb 16 23:28:56 2019 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile Sun Feb 17 00:05:11 2019 +0000
@@ -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 @@
.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 @@
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
Home |
Main Index |
Thread Index |
Old Index