summaryrefslogtreecommitdiffstats
path: root/abs/extra/llvm/clang-3.1-fix-libprofile_rt.a-location.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 20:01:54 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 20:01:54 (GMT)
commit0f1c658ec72522538b3bd0ebbc1ab995af28e1d6 (patch)
tree20b0d9bf42b99ccf624bf116f21a287d63778928 /abs/extra/llvm/clang-3.1-fix-libprofile_rt.a-location.patch
parent07a8522ea9ef6c37165cf09a8c82ed1f93ec0840 (diff)
downloadlinhes_pkgbuild-0f1c658ec72522538b3bd0ebbc1ab995af28e1d6.zip
linhes_pkgbuild-0f1c658ec72522538b3bd0ebbc1ab995af28e1d6.tar.gz
linhes_pkgbuild-0f1c658ec72522538b3bd0ebbc1ab995af28e1d6.tar.bz2
llvm 3.1
Diffstat (limited to 'abs/extra/llvm/clang-3.1-fix-libprofile_rt.a-location.patch')
-rw-r--r--abs/extra/llvm/clang-3.1-fix-libprofile_rt.a-location.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/llvm/clang-3.1-fix-libprofile_rt.a-location.patch b/abs/extra/llvm/clang-3.1-fix-libprofile_rt.a-location.patch
new file mode 100644
index 0000000..080aa4f
--- /dev/null
+++ b/abs/extra/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));
+ }