diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-27 22:26:40 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-27 22:26:40 +0000 |
commit | 8784d3134c1d4b4c02d705259ae2ebd768c778fd (patch) | |
tree | 2d5e15ad1adac97b4a07a58b1618dda602cea3a0 /community-testing/llvm/enable-lto.patch | |
parent | 18d6577d511b9a1ac36eaae50060133a401e42a3 (diff) |
Wed Apr 27 22:26:47 UTC 2011
Diffstat (limited to 'community-testing/llvm/enable-lto.patch')
-rw-r--r-- | community-testing/llvm/enable-lto.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/community-testing/llvm/enable-lto.patch b/community-testing/llvm/enable-lto.patch deleted file mode 100644 index 40d93104a..000000000 --- a/community-testing/llvm/enable-lto.patch +++ /dev/null @@ -1,36 +0,0 @@ -Index: lib/Driver/ToolChains.cpp -=================================================================== ---- lib/Driver/ToolChains.cpp (revision 123373) -+++ lib/Driver/ToolChains.cpp (working copy) -@@ -1398,11 +1398,11 @@ - Lib = Lib64; - } - -- llvm::sys::Path LinkerPath(Base + "/../../../../" + GccTriple + "/bin/ld"); -+ llvm::sys::Path LinkerPath(Base + "/../../../../" + GccTriple + "/bin/ld.gold"); - if (!llvm::sys::fs::exists(LinkerPath.str(), Exists) && Exists) - Linker = LinkerPath.str(); - else -- Linker = GetProgramPath("ld"); -+ Linker = GetProgramPath("ld.gold"); - - LinuxDistro Distro = DetectLinuxDistro(Arch); - -Index: lib/Driver/Tools.cpp -=================================================================== ---- lib/Driver/Tools.cpp (revision 123373) -+++ lib/Driver/Tools.cpp (working copy) -@@ -3412,11 +3412,11 @@ - } - } - -- if (Args.hasArg(options::OPT_use_gold_plugin)) { -+ // if (Args.hasArg(options::OPT_use_gold_plugin)) { - CmdArgs.push_back("-plugin"); - std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so"; - CmdArgs.push_back(Args.MakeArgString(Plugin)); -- } -+ // } - - C.addCommand(new Command(JA, *this, ToolChain.Linker.c_str(), CmdArgs)); - } |