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 use weak symbols instead ...



details:   https://anonhg.NetBSD.org/src/rev/e2e31f8c1df4
branches:  trunk
changeset: 329629:e2e31f8c1df4
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 31 14:03:08 2014 +0000

description:
use weak symbols instead of linking against libpthread.

diffstat:

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

diffs (29 lines):

diff -r 9a65df86c1fb -r e2e31f8c1df4 external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Sat May 31 12:33:14 2014 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Sat May 31 14:03:08 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2014/05/28 16:41:06 mrg Exp $
+#      $NetBSD: Makefile,v 1.13 2014/05/31 14:03:08 christos Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -12,8 +12,8 @@
 
 LIBDPLIBS+=    m ${.CURDIR}/../../../../../lib/libm
 
-COPTS+=                -pthread
-LDFLAGS+=      -pthread
+#COPTS+=               -pthread
+#LDFLAGS+=     -pthread
 
 UNSUPPORTED_COMPILER.clang=    # defined
 CWARNFLAGS.clang+=     -Wno-logical-op-parentheses \
@@ -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
+CPPFLAGS+=     -D_GLIBCXX_SHARED -D_GLIBCXX_GTHREAD_USE_WEAK
 
 CONF=          ${DIST}/libstdc++-v3/config
 



Home | Main Index | Thread Index | Old Index