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 - add new filesystem/ sources.



details:   https://anonhg.NetBSD.org/src/rev/d76672d87c8d
branches:  trunk
changeset: 996403:d76672d87c8d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jan 31 06:50:51 2019 +0000

description:
- add new filesystem/ sources.
- sync paths.
- remove -Wno-error, doesn't seem to be needed anymore

diffstat:

 external/gpl3/gcc/lib/libstdc++-v3/Makefile     |  19 ++++++----
 external/gpl3/gcc/lib/libsupc++/Makefile.common |  43 ++++++++++++++++++------
 2 files changed, 43 insertions(+), 19 deletions(-)

diffs (126 lines):

diff -r be7b4c95115c -r d76672d87c8d external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Thu Jan 31 06:47:21 2019 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Thu Jan 31 06:50:51 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.36 2019/01/22 23:55:54 mrg Exp $
+#      $NetBSD: Makefile,v 1.37 2019/01/31 06:50:51 mrg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -62,6 +62,7 @@
 #CXXFLAGS+=    ${G_SECTION_FLAGS}
 #CXXFLAGS+=    -ffunction-sections -fdata-sections 
 COPTS.bitmap_allocator.cc+=    -ffunction-sections -fdata-sections 
+COPTS.pool_allocator.cc+=      -ffunction-sections -fdata-sections 
 
 CONF=          ${DIST}/libstdc++-v3/config
 
@@ -151,18 +152,21 @@
                compatibility-chrono.cc \
                compatibility-condvar.cc \
                ios_failure.cc
+
+.for _s in ${G_CPP11_SOURCES:M*.cc} ${CXX11_ALWAYS}
+COPTS.${_s}+= -std=gnu++11
+.endfor
+
+.for _s in ${G_FILESYSTEM_SOURCES:M*.cc}
+COPTS.${_s}+= -std=gnu++14
+.endfor
+
 .for _s in ${SRCS:M*.cc}
 . if empty(COPTS.${_s}:M-std=*)
 COPTS.${_s}+= -std=gnu++98
 . endif
 .endfor
-.for _s in ${G_CPP11_SOURCES:M*.cc} ${CXX11_ALWAYS}
-# XXX error: 'template<class> class std::auto_ptr' is deprecated
-COPTS.${_s}+= -std=gnu++11 -Wno-error
-.endfor
 
-COPTS.del_ops.cc += -Wno-c++14-compat
-COPTS.del_opvs.cc += -Wno-c++14-compat
 COPTS.cp-demangle.c += -Wno-unused-function
 
 COPTS.ext-inst.cc+= -Wno-error
@@ -182,6 +186,7 @@
 .PATH: ${DIST}/libstdc++-v3/src \
        ${DIST}/libstdc++-v3/src/c++98 \
        ${DIST}/libstdc++-v3/src/c++11 \
+       ${DIST}/libstdc++-v3/src/filesystem \
        ${DIST}/libstdc++-v3/libsupc++ \
        ${DIST}/libstdc++-v3/config/os/bsd/netbsd \
        ${CONF}/locale/generic \
diff -r be7b4c95115c -r d76672d87c8d external/gpl3/gcc/lib/libsupc++/Makefile.common
--- a/external/gpl3/gcc/lib/libsupc++/Makefile.common   Thu Jan 31 06:47:21 2019 +0000
+++ b/external/gpl3/gcc/lib/libsupc++/Makefile.common   Thu Jan 31 06:50:51 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.common,v 1.10 2019/01/22 23:55:54 mrg Exp $
+#      $NetBSD: Makefile.common,v 1.11 2019/01/31 06:50:51 mrg Exp $
 
 DIST=          ${GCCDIST}
 GNUHOSTDIST=   ${DIST}
@@ -12,7 +12,7 @@
 LIBSTDCXX_MACHINE_ARCH=${GCC_MACHINE_ARCH}
 .endif
 
-LIBSTDCXXSRCS= ${G_SRC_SOURCES} ${G_CPP98_SOURCES} ${G_CPP11_SOURCES}
+LIBSTDCXXSRCS= ${G_SRC_SOURCES} ${G_CPP98_SOURCES} ${G_CPP11_SOURCES} ${G_FILESYSTEM_SOURCES}
 LIBSUPCXXSRCS= ${G_LIBSUPCXX_SOURCES} ${G_LIBSUPCXX_C_SOURCES}
 
 CPPFLAGS+=     -I${DIST}/gcc
@@ -24,25 +24,44 @@
 
 CPPFLAGS.cp-demangle.c=-DIN_GLIBCPP_V3
 
-STD_GNU11=     bad_array_length bad_array_new \
-               eh_aux_runtime eh_ptr eh_terminate eh_throw \
-               guard atexit_thread nested_exception \
-               new_handler new_op new_opnt
+STD_GNU11=     \
+               bad_array_length \
+               bad_array_new \
+               eh_aux_runtime \
+               eh_ptr \
+               eh_terminate \
+               eh_throw \
+               guard \
+               atexit_thread \
+               nested_exception \
+               new_handler \
+               new_op \
+               new_opnt
+
 .for _f in ${STD_GNU11}
 COPTS.${_f}.cc=        -std=gnu++11
 .endfor
 
-STD_GNU14=     del_ops del_opvs
+STD_GNU14=     \
+               del_ops \
+               del_opvs
+
 .for _f in ${STD_GNU14}
 COPTS.${_f}.cc=        -std=gnu++14  -Wno-sized-deallocation
 .endfor
 
-STD_GNU1Z=     new_opa new_opant \
-               new_opva new_opvant \
-               del_opa del_opant del_opsa \
-               del_opva del_opvant del_opvsa
+STD_GNU1Z=     \
+               new_opa \
+               new_opant \
+               new_opva \
+               new_opvant \
+               del_opa \
+               del_opant \
+               del_opsa \
+               del_opva \
+               del_opvant \
+               del_opvsa
 
 .for _f in ${STD_GNU1Z}
 COPTS.${_f}.cc=        -std=gnu++1z
 .endfor
-



Home | Main Index | Thread Index | Old Index