Module Name: src
Committed By: mrg
Date: Wed Sep 5 00:51:42 UTC 2018
Modified Files:
src/external/gpl3/gcc/lib/libgcc: Makefile.inc
Log Message:
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.36 -r1.37 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.36 src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.37
--- src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.36 Sat Jul 14 23:40:19 2018
+++ src/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Sep 5 00:51:42 2018
@@ -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/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" || \