Magellan Linux

Contents of /trunk/llvm/patches/llvm-3.2-fix-libprofile_rt.a-location.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2052 - (show annotations) (download)
Tue Jan 29 12:58:35 2013 UTC (11 years, 3 months ago) by niro
File size: 640 byte(s)
-fixes from arch
1 diff -upr clang-3.1.src.orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp
2 --- clang-3.1.src.orig/lib/Driver/Tools.cpp 2012-04-19 00:32:25.000000000 +0300
3 +++ clang-3.1.src/lib/Driver/Tools.cpp 2012-05-23 21:12:08.000000000 +0300
4 @@ -193,7 +193,7 @@ static void addProfileRT(const ToolChain
5 // libprofile_rt.so. We used to use the -l:libprofile_rt.a syntax, but that is
6 // not supported by old linkers.
7 std::string ProfileRT =
8 - std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a";
9 + std::string(TC.getDriver().Dir) + "/../lib/llvm/libprofile_rt.a";
10
11 CmdArgs.push_back(Args.MakeArgString(ProfileRT));
12 }