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/c210301c7d63
branches:  trunk
changeset: 329552:c210301c7d63
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 ecb9080d9ffb -r c210301c7d63 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