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 avoid hand maintained lis...
details: https://anonhg.NetBSD.org/src/rev/df4614f5833b
branches: trunk
changeset: 449222:df4614f5833b
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Feb 27 08:21:42 2019 +0000
description:
avoid hand maintained lists but use values mknative pulls out.
unfortunately, somefiles have hand coded rules.
diffstat:
external/gpl3/gcc/lib/libstdc++-v3/Makefile | 24 ++++++------------------
1 files changed, 6 insertions(+), 18 deletions(-)
diffs (50 lines):
diff -r 4c65d07d47df -r df4614f5833b external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile Wed Feb 27 08:19:49 2019 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile Wed Feb 27 08:21:42 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2019/02/17 00:05:11 mrg Exp $
+# $NetBSD: Makefile,v 1.44 2019/02/27 08:21:42 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -20,7 +20,7 @@
SYMBOLS= libstdc++-symbols.ver
.if ${MKPIC} != "no"
-${SYMBOLS}:
+${SYMBOLS}: Makefile
cat ${DIST}/libstdc++-v3/config/abi/pre/gnu.ver ${G_port_specific_symbol_files} | \
${TOOL_GREP} -E -v '^[ ]*#(#| |$$)' | \
${CXX} -I${DESTDIR}/usr/include/g++ -E -P -include ${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/c++config.h - > \
@@ -146,27 +146,15 @@
.include "../Makefile.gthr"
-# XXX Make this either/or, not one, and maybe another
-# XXX pull out libstdc++/Makefile/cxx11_sources for many of these.
+# XXX Special rules in c++98/Makefile; may move into c++11 in future GCC.
CXX11_ALWAYS= localename.cc \
- locale_init.cc \
- compatibility-c++0x.cc \
- compatibility-atomic-c++0x.cc \
- compatibility-thread-c++0x.cc \
- compatibility-chrono.cc \
- compatibility-condvar.cc \
- ios_failure.cc
+ locale_init.cc
-.for _s in ${CXX11_ALWAYS}
+.for _s in ${G_cxx11_sources} ${CXX11_ALWAYS}
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}
+.for _s in ${G_cxx98_sources}
COPTS.${_s}+= -std=gnu++98
.endfor
Home |
Main Index |
Thread Index |
Old Index