PKGBUILDs/extra/llvm/clang-3.3-use-gold-linker.patch

13 lines
567 B
Diff
Raw Normal View History

2014-01-12 22:55:56 +00:00
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);