Module Name: src
Committed By: martin
Date: Thu Sep 6 07:58:57 UTC 2018
Modified Files:
src/external/gpl3/gcc/lib/libgcc [netbsd-8]: Makefile.inc
Log Message:
Pull up following revision(s) (requested by mrg in ticket #1009):
external/gpl3/gcc/lib/libgcc/Makefile.inc: revision 1.37
pull -DHAVE_CC_TLS out of $(INTERNAL_CFLAGS) if it is there, and add
it to CPPFLAGS.
this fixes PR#53567 for me.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.35.6.1 src/external/gpl3/gcc/lib/libgcc/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libgcc/Makefile.inc
diff -u src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.35 src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.35.6.1
--- src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.35 Sat Oct 22 20:33:28 2016
+++ src/external/gpl3/gcc/lib/libgcc/Makefile.inc Thu Sep 6 07:58:57 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.35 2016/10/22 20:33:28 christos Exp $
+# $NetBSD: Makefile.inc,v 1.35.6.1 2018/09/06 07:58:57 martin Exp $
LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
@@ -28,6 +28,7 @@ CPPFLAGS+= -I${DIST}/libgcc/config/i386
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" || \