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 Explicitly request using ...



details:   https://anonhg.NetBSD.org/src/rev/ba1adb5740fe
branches:  trunk
changeset: 332640:ba1adb5740fe
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Oct 01 22:27:33 2014 +0000

description:
Explicitly request using the libstdc++ header path for clang, C++11 for
everything and disable the unsupported ABI tagging.

diffstat:

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

diffs (19 lines):

diff -r 696a68313b9c -r ba1adb5740fe external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Wed Oct 01 22:26:05 2014 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Wed Oct 01 22:27:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2014/10/01 22:26:05 joerg Exp $
+#      $NetBSD: Makefile,v 1.18 2014/10/01 22:27:33 joerg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -18,7 +18,8 @@
 COPTS.random.cc+=      ${${ACTIVE_CC} == "clang":? -mrdrnd :}
 .endif
 
-UNSUPPORTED_COMPILER.clang=    # defined
+CXXFLAGS.clang+=       -stdlib=libstdc++ -std=c++11 -D_GLIBCXX_ABI_TAG_CXX11=
+CXXFLAGS+=     ${CXXFLAGS.${ACTIVE_CC}}
 CWARNFLAGS.clang+=     -Wno-logical-op-parentheses \
                        -Wno-deprecated-writable-strings -Wno-parentheses
 



Home | Main Index | Thread Index | Old Index