mgorny 14/06/15 14:30:04 Modified: clang-3.3-gentoo-install.patch Log: Restore the old clang patch as clang-3.3-gentoo-install.patch, and use it for version 3.3-r3. Bug #513346. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path 1.3 sys-devel/llvm/files/clang-3.3-gentoo-install.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/clang-3.3-gentoo-install.patch?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/clang-3.3-gentoo-install.patch?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/clang-3.3-gentoo-install.patch?r1=1.2&r2=1.3 Index: clang-3.3-gentoo-install.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/files/clang-3.3-gentoo-install.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- clang-3.3-gentoo-install.patch 30 Jul 2013 23:12:27 -0000 1.2 +++ clang-3.3-gentoo-install.patch 15 Jun 2014 14:30:03 -0000 1.3 @@ -18,7 +18,7 @@ // not supported by old linkers. std::string ProfileRT = - std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a"; -+ "-l:llvm/libprofile_rt.a"; ++ "-l:libprofile_rt.a"; CmdArgs.push_back(Args.MakeArgString(ProfileRT)); } @@ -27,7 +27,7 @@ if (D.IsUsingLTO(Args) || Args.hasArg(options::OPT_use_gold_plugin)) { CmdArgs.push_back("-plugin"); - std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so"; -+ std::string Plugin = ToolChain.getDriver().Dir + "/../@libdir@/llvm/LLVMgold.so"; ++ std::string Plugin = ToolChain.getDriver().Dir + "/../@libdir@/LLVMgold.so"; CmdArgs.push_back(Args.MakeArgString(Plugin)); // Try to pass driver level flags relevant to LTO code generation down to