diff options
author | root <root@rshg054.dnsready.net> | 2012-05-25 00:02:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-25 00:02:35 +0000 |
commit | aa30737839de3c2a4a1287442cb9859414fb4b0a (patch) | |
tree | fe7dabc8a40d713b7b0a781023fe64e03e728bb5 /testing/llvm/clang-3.1-fix-libprofile_rt.a-location.patch | |
parent | 6553825d7281900890db91a21ac601d7aee9c55e (diff) |
Fri May 25 00:02:35 UTC 2012
Diffstat (limited to 'testing/llvm/clang-3.1-fix-libprofile_rt.a-location.patch')
-rw-r--r-- | testing/llvm/clang-3.1-fix-libprofile_rt.a-location.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/llvm/clang-3.1-fix-libprofile_rt.a-location.patch b/testing/llvm/clang-3.1-fix-libprofile_rt.a-location.patch new file mode 100644 index 000000000..080aa4fca --- /dev/null +++ b/testing/llvm/clang-3.1-fix-libprofile_rt.a-location.patch @@ -0,0 +1,12 @@ +diff -upr clang-3.1.src.orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp +--- clang-3.1.src.orig/lib/Driver/Tools.cpp 2012-04-19 00:32:25.000000000 +0300 ++++ clang-3.1.src/lib/Driver/Tools.cpp 2012-05-23 21:12:08.000000000 +0300 +@@ -193,7 +193,7 @@ static void addProfileRT(const ToolChain + // libprofile_rt.so. We used to use the -l:libprofile_rt.a syntax, but that is + // not supported by old linkers. + std::string ProfileRT = +- std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a"; ++ std::string(TC.getDriver().Dir) + "/../lib/llvm/libprofile_rt.a"; + + CmdArgs.push_back(Args.MakeArgString(ProfileRT)); + } |