[PATCH] D30733: [Driver] Add arch-specific rpath for libc++
Jonas Hahnfeld via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 8 04:32:35 PST 2017
Hahnfeld created this revision.
Herald added a reviewer: EricWF.
libc++ may be installed there as a runtime library.
https://reviews.llvm.org/D30733
Files:
lib/Driver/ToolChain.cpp
Index: lib/Driver/ToolChain.cpp
===================================================================
--- lib/Driver/ToolChain.cpp
+++ lib/Driver/ToolChain.cpp
@@ -648,6 +648,8 @@
switch (Type) {
case ToolChain::CST_Libcxx:
CmdArgs.push_back("-lc++");
+ // libc++ may be installed per arch.
+ addArchSpecificRPath(*this, Args, CmdArgs);
break;
case ToolChain::CST_Libstdcxx:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30733.90996.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170308/ff0a25fd/attachment.bin>
More information about the cfe-commits
mailing list