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/libgcc pull -DHAVE_CC_TLS out of $(INT...



details:   https://anonhg.NetBSD.org/src/rev/2edea6bd890a
branches:  trunk
changeset: 993328:2edea6bd890a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Sep 05 00:51:42 2018 +0000

description:
pull -DHAVE_CC_TLS out of $(INTERNAL_CFLAGS) if it is there, and add
it to CPPFLAGS.

this fixes PR#53567 for me.

diffstat:

 external/gpl3/gcc/lib/libgcc/Makefile.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f7c1dc27e6da -r 2edea6bd890a external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Sep 05 00:22:07 2018 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Sep 05 00:51:42 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.36 2018/07/14 23:40:19 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.37 2018/09/05 00:51:42 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -28,6 +28,7 @@
 CPPFLAGS+=     -I${DIST}/libgcc/config/${LIBGCC_MACHINE_ARCH}
 .endif
 CPPFLAGS+=     -I${DIST}/gcc -I${DIST}/include -I.
+CPPFLAGS+=     ${G_INTERNAL_CFLAGS:M-DHAVE_CC_TLS}
 
 .if ${LIBGCC_MACHINE_ARCH} == "powerpc" || \
     ${LIBGCC_MACHINE_ARCH} == "sh3el" || \



Home | Main Index | Thread Index | Old Index