pkgsrc-WIP-changes archive

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

clang: Use proper SUBSTs for libstdc++ in 3.8



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Feb 24 03:02:15 2016 +0100
Changeset:	f4c4697b387d25b741df22f3422a672c79c124f0

Modified Files:
	clang/Makefile.common

Log Message:
clang: Use proper SUBSTs for libstdc++ in 3.8

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

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

diffstat:
 clang/Makefile.common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/clang/Makefile.common b/clang/Makefile.common
index 93cce09..6214db7 100644
--- a/clang/Makefile.common
+++ b/clang/Makefile.common
@@ -71,7 +71,7 @@ SUBST_STAGE.libcxx=		pre-configure
 SUBST_MESSAGE.libcxx=		Patching toolchain to use libstdc++ as we're using GCC
 SUBST_FILES.libcxx=		lib/Driver/ToolChains.cpp
 SUBST_FILES.libcxx+=		lib/Driver/Tools.cpp
-SUBST_SED.libcxx=		-e 's,(Major >= 7 || Major == 0),(false),'
+SUBST_SED.libcxx=		-e 's,(Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0),(false),'
 
 CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
 .endif


Home | Main Index | Thread Index | Old Index