From c237a1a2e389aa4a5da131901c5aee46aba79a65 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Fri, 27 Jun 2014 12:37:36 +0000 Subject: [PATCH] Replace GetProgramPath("ld") with GetLinkerPath(). llvm-svn: 211895 --- clang/lib/Driver/Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 1402f78..835606c 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -7264,7 +7264,7 @@ void gnutools::Link::ConstructJob(Compilation &C, const JobAction &JA, const char *Exec = IsLinux ? LinuxToolChain.Linker.c_str() - : Args.MakeArgString(ToolChain.GetProgramPath("ld")); + : Args.MakeArgString(ToolChain.GetLinkerPath()); C.addCommand(new Command(JA, *this, Exec, CmdArgs)); } -- 2.7.4