summaryrefslogtreecommitdiffstats
path: root/abs/extra/llvm/clang-3.3-use-gold-linker.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-30 18:03:49 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-30 18:03:49 (GMT)
commit9c2d818e627d8763a22d860b8f1d8977aa853102 (patch)
treea296c413144e50ca4ebf521a021ea2ec7dca9ea6 /abs/extra/llvm/clang-3.3-use-gold-linker.patch
parent6e4889e232ba0cdaf498eb2c624a0d6a496e45fc (diff)
downloadlinhes_pkgbuild-9c2d818e627d8763a22d860b8f1d8977aa853102.zip
linhes_pkgbuild-9c2d818e627d8763a22d860b8f1d8977aa853102.tar.gz
linhes_pkgbuild-9c2d818e627d8763a22d860b8f1d8977aa853102.tar.bz2
llvm: update to 3.4
Diffstat (limited to 'abs/extra/llvm/clang-3.3-use-gold-linker.patch')
-rw-r--r--abs/extra/llvm/clang-3.3-use-gold-linker.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/llvm/clang-3.3-use-gold-linker.patch b/abs/extra/llvm/clang-3.3-use-gold-linker.patch
new file mode 100644
index 0000000..76905a6
--- /dev/null
+++ b/abs/extra/llvm/clang-3.3-use-gold-linker.patch
@@ -0,0 +1,12 @@
+diff -upr cfe.src.orig/lib/Driver/ToolChains.cpp cfe.src/lib/Driver/ToolChains.cpp
+--- cfe.src.orig/lib/Driver/ToolChains.cpp 2013-06-08 16:17:19.000000000 +0300
++++ cfe.src/lib/Driver/ToolChains.cpp 2013-06-08 16:17:33.000000000 +0300
+@@ -2220,7 +2220,7 @@ Linux::Linux(const Driver &D, const llvm
+ PPaths.push_back(Twine(GCCInstallation.getParentLibPath() + "/../" +
+ GCCInstallation.getTriple().str() + "/bin").str());
+
+- Linker = GetProgramPath("ld");
++ Linker = GetProgramPath("ld.gold");
+
+ Distro Distro = DetectDistro(Arch);
+