Wed May 28 16:41:06 2014 UTC ()
add -pthread to compiler/linker flags.  fixes 1/3 of the link issues.


(mrg)
diff -r1.11 -r1.12 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile

cvs diff -r1.11 -r1.12 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile (expand / switch to unified diff)

--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile 2014/05/16 09:36:51 1.11
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile 2014/05/28 16:41:06 1.12
@@ -1,27 +1,30 @@ @@ -1,27 +1,30 @@
1# $NetBSD: Makefile,v 1.11 2014/05/16 09:36:51 mrg Exp $ 1# $NetBSD: Makefile,v 1.12 2014/05/28 16:41:06 mrg Exp $
2 2
3REQUIRETOOLS= yes 3REQUIRETOOLS= yes
4NOLINT= # defined 4NOLINT= # defined
5 5
6.include <bsd.own.mk> 6.include <bsd.own.mk>
7 7
8.include "Makefile.inc" 8.include "Makefile.inc"
9 9
10LIB= stdc++ 10LIB= stdc++
11LDADD= -lgcc_s 11LDADD= -lgcc_s
12 12
13LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm 13LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm
14 14
 15COPTS+= -pthread
 16LDFLAGS+= -pthread
 17
15UNSUPPORTED_COMPILER.clang= # defined 18UNSUPPORTED_COMPILER.clang= # defined
16CWARNFLAGS.clang+= -Wno-logical-op-parentheses \ 19CWARNFLAGS.clang+= -Wno-logical-op-parentheses \
17 -Wno-deprecated-writable-strings -Wno-parentheses 20 -Wno-deprecated-writable-strings -Wno-parentheses
18 21
19.include "${.CURDIR}/../libsupc++/Makefile.common" 22.include "${.CURDIR}/../libsupc++/Makefile.common"
20 23
21.if exists(${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no" 24.if exists(${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no"
22.include "${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk" 25.include "${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk"
23 26
24SHLIB_MAJOR= 7 27SHLIB_MAJOR= 7
25SHLIB_MINOR= 2 28SHLIB_MINOR= 2
26 29
27SUBDIR= include 30SUBDIR= include