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 -pthread to compiler/...



details:   https://anonhg.NetBSD.org/src/rev/606e491404f3
branches:  trunk
changeset: 796313:606e491404f3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed May 28 16:41:06 2014 +0000

description:
add -pthread to compiler/linker flags.  fixes 1/3 of the link issues.

diffstat:

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

diffs (19 lines):

diff -r 5bebb1099cb4 -r 606e491404f3 external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Wed May 28 16:13:02 2014 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Wed May 28 16:41:06 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2014/05/16 09:36:51 mrg Exp $
+#      $NetBSD: Makefile,v 1.12 2014/05/28 16:41:06 mrg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -12,6 +12,9 @@
 
 LIBDPLIBS+=    m ${.CURDIR}/../../../../../lib/libm
 
+COPTS+=                -pthread
+LDFLAGS+=      -pthread
+
 UNSUPPORTED_COMPILER.clang=    # defined
 CWARNFLAGS.clang+=     -Wno-logical-op-parentheses \
                        -Wno-deprecated-writable-strings -Wno-parentheses



Home | Main Index | Thread Index | Old Index