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/libstdc++-v3 Add different defines to ...



details:   https://anonhg.NetBSD.org/src/rev/2cfce871776a
branches:  trunk
changeset: 329639:2cfce871776a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 31 20:09:15 2014 +0000

description:
Add different defines to force weak pthread symbols.
XXX: I think these should be generated automatically.
XXX[2]: Why:
gthr-default.h -> $NETBSDSRCDIR/external/gpl3/gcc/dist/libgcc/gthr-posix.h
and wes still have old arch/*/gthr* files?

diffstat:

 external/gpl3/gcc/lib/libstdc++-v3/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6094632e27a2 -r 2cfce871776a external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Sat May 31 18:27:03 2014 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Sat May 31 20:09:15 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2014/05/31 14:03:08 christos Exp $
+#      $NetBSD: Makefile,v 1.14 2014/05/31 20:09:15 christos Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -37,7 +37,7 @@
 CPPFLAGS+=     -I${DIST}/libstdc++-v3/include
 CPPFLAGS+=     -I${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}
 # include backwards compatible code
-CPPFLAGS+=     -D_GLIBCXX_SHARED -D_GLIBCXX_GTHREAD_USE_WEAK
+CPPFLAGS+=     -D_GLIBCXX_SHARED -DGTHREAD_USE_WEAK -DSUPPORTS_WEAK
 
 CONF=          ${DIST}/libstdc++-v3/config
 



Home | Main Index | Thread Index | Old Index