mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
23 lines
813 B
Diff
23 lines
813 B
Diff
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
|
|
index 198e82e..810d006 100644
|
|
--- a/lib/Driver/Tools.cpp
|
|
+++ b/lib/Driver/Tools.cpp
|
|
@@ -7355,17 +7355,6 @@ void gnutools::Link::ConstructJob(Compilation &C, const JobAction &JA,
|
|
CmdArgs.push_back("-shared");
|
|
}
|
|
|
|
- if (ToolChain.getArch() == llvm::Triple::arm ||
|
|
- ToolChain.getArch() == llvm::Triple::armeb ||
|
|
- ToolChain.getArch() == llvm::Triple::thumb ||
|
|
- ToolChain.getArch() == llvm::Triple::thumbeb ||
|
|
- (!Args.hasArg(options::OPT_static) &&
|
|
- !Args.hasArg(options::OPT_shared))) {
|
|
- CmdArgs.push_back("-dynamic-linker");
|
|
- CmdArgs.push_back(Args.MakeArgString(
|
|
- D.DyldPrefix + getLinuxDynamicLinker(Args, ToolChain)));
|
|
- }
|
|
-
|
|
CmdArgs.push_back("-o");
|
|
CmdArgs.push_back(Output.getFilename());
|
|
|