Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc pull out libstdc++ config.h as-is, for gnu.ver pro...



details:   https://anonhg.NetBSD.org/src/rev/08b8a1740acb
branches:  trunk
changeset: 839489:08b8a1740acb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Feb 23 06:54:45 2019 +0000

description:
pull out libstdc++ config.h as-is, for gnu.ver processing.
pull out the cxx11_sources and cxx98_sources values to avoid hard coding.

diffstat:

 tools/gcc/mknative-gcc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 00338f9ddb49 -r 08b8a1740acb tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Sat Feb 23 03:10:05 2019 +0000
+++ b/tools/gcc/mknative-gcc    Sat Feb 23 06:54:45 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gcc,v 1.100 2019/02/09 03:57:00 mrg Exp $
+#      $NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of gcc.
@@ -233,10 +233,15 @@
 
        write_c $_OUTDIRBASE/lib/$_subdir/arch/$MACHINE_ARCH/gstdint.h \
                <$_TMPDIR/$_PLATFORM/libstdc++-v3/include/gstdint.h
+       write_c $_OUTDIRBASE/lib/$_subdir/arch/$MACHINE_ARCH/symver-config.h \
+               <$_TMPDIR/$_PLATFORM/libstdc++-v3/config.h
 
        {
                getvars $_PLATFORM/libstdc++-v3/Makefile \
                        port_specific_symbol_files
+               getvars $_PLATFORM/libstdc++-v3/src/Makefile \
+                       cxx11_sources \
+                       cxx98_sources
 
                # libsupc++
                getvars $_PLATFORM/libstdc++-v3/libsupc++/Makefile \



Home | Main Index | Thread Index | Old Index