Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc also pullout INTERNAL_CFLAGS for the libgcc build, ...



details:   https://anonhg.NetBSD.org/src/rev/9be3f84db88e
branches:  trunk
changeset: 835707:9be3f84db88e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Sep 04 22:57:25 2018 +0000

description:
also pullout INTERNAL_CFLAGS for the libgcc build, where it may have
-DHAVE_CC_TLS defined on the command line.  (we already collect all
the other components.)

diffstat:

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

diffs (21 lines):

diff -r f6e460582fb2 -r 9be3f84db88e tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Tue Sep 04 22:38:55 2018 +0000
+++ b/tools/gcc/mknative-gcc    Tue Sep 04 22:57:25 2018 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gcc,v 1.93 2018/09/04 06:40:37 mrg Exp $
+#      $NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of gcc.
@@ -71,7 +71,9 @@
        cd $_TMPDIR/$_PLATFORM/libgcc
        {
                getvars $_PLATFORM/libgcc/Makefile \
-                       INCLUDES LIB2ADD LIB2ADDEH LIB2ADD_ST \
+                       INCLUDES \
+                       INTERNAL_CFLAGS \
+                       LIB2ADD LIB2ADDEH LIB2ADD_ST \
                        LIB1ASMFUNCS LIB1ASMSRC \
                        LIB2_DIVMOD_FUNCS LIB2FUNCS_ST \
                        LIB2FUNCS_EXTRA \



Home | Main Index | Thread Index | Old Index