summaryrefslogtreecommitdiff
path: root/extra/llvm/clang-3.3-use-gold-linker.patch
blob: 76905a64e69b3e3a014e8111c0f7f305cb956a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
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);