pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clang-git: try to link against libstdc++



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Feb 13 14:57:00 2016 +0100
Changeset:	98cebb726a0259884eb5bac25c584d9fb8558d6d

Modified Files:
	clang-git/Makefile

Log Message:
clang-git: try to link against libstdc++

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=98cebb726a0259884eb5bac25c584d9fb8558d6d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 clang-git/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/clang-git/Makefile b/clang-git/Makefile
index 5184de8..f393a81 100644
--- a/clang-git/Makefile
+++ b/clang-git/Makefile
@@ -71,6 +71,8 @@ SUBST_MESSAGE.libcxx=		Patching toolchain to use libstdc++ as we're using GCC
 SUBST_FILES.libcxx=		${WRKDIR}/clang/lib/Driver/ToolChains.cpp
 SUBST_FILES.libcxx+=		${WRKDIR}/clang/lib/Driver/Tools.cpp
 SUBST_SED.libcxx=		-e 's,(Major >= 7 || Major == 0),(false),'
+
+CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
 .endif
 
 post-extract:


Home | Main Index | Thread Index | Old Index