Module Name:    src
Committed By:   christos
Date:           Sat May 31 20:09:15 UTC 2014

Modified Files:
        src/external/gpl3/gcc/lib/libstdc++-v3: Makefile

Log Message:
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?


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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.13 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.14
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.13	Sat May 31 10:03:08 2014
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile	Sat May 31 16:09:15 2014
@@ -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 @@ 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 -D_GLIBCXX_GTHREAD_USE_WEAK
+CPPFLAGS+=     -D_GLIBCXX_SHARED -DGTHREAD_USE_WEAK -DSUPPORTS_WEAK
 
 CONF=		${DIST}/libstdc++-v3/config
 

Reply via email to