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:
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:
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits