Module Name: src
Committed By: christos
Date: Sat May 31 14:03:08 UTC 2014
Modified Files:
src/external/gpl3/gcc/lib/libstdc++-v3: Makefile
Log Message:
use weak symbols instead of linking against libpthread.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile
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/libstdc++-v3/Makefile
diff -u src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.12 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.13
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.12 Wed May 28 12:41:06 2014
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile Sat May 31 10:03:08 2014
@@ -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 @@ LDADD= -lgcc_s
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 @@ CXXFLAGS+= -fno-implicit-templates -fdia
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