Module Name:    src
Committed By:   joerg
Date:           Wed Oct  1 22:27:33 UTC 2014

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 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.17 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.18
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.17	Wed Oct  1 22:26:05 2014
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile	Wed Oct  1 22:27:33 2014
@@ -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 @@ LIBDPLIBS+=	m ${.CURDIR}/../../../../../
 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
 

Reply via email to