2020-08-25 19:29:57 +02:00
|
|
|
From 4add81bba40dcec62c4ea4481be8e35ac53e89d8 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Will Dietz <w@wdtz.org>
|
|
|
|
Date: Thu, 18 May 2017 11:56:12 -0500
|
|
|
|
Subject: [PATCH] "purity" patch for 5.0
|
|
|
|
|
|
|
|
---
|
|
|
|
lib/Driver/ToolChains/Gnu.cpp | 7 -------
|
|
|
|
1 file changed, 7 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/lib/Driver/ToolChains/Gnu.cpp b/lib/Driver/ToolChains/Gnu.cpp
|
|
|
|
index fe3c0191bb..c6a482bece 100644
|
|
|
|
--- a/lib/Driver/ToolChains/Gnu.cpp
|
|
|
|
+++ b/lib/Driver/ToolChains/Gnu.cpp
|
2020-08-25 19:32:46 +02:00
|
|
|
@@ -487,12 +487,6 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
|
2020-08-25 19:29:57 +02:00
|
|
|
if (!IsStatic) {
|
|
|
|
if (Args.hasArg(options::OPT_rdynamic))
|
|
|
|
CmdArgs.push_back("-export-dynamic");
|
|
|
|
-
|
|
|
|
- if (!Args.hasArg(options::OPT_shared) && !IsStaticPIE) {
|
|
|
|
- CmdArgs.push_back("-dynamic-linker");
|
2020-08-25 19:32:46 +02:00
|
|
|
- CmdArgs.push_back(Args.MakeArgString(Twine(D.DyldPrefix) +
|
|
|
|
- ToolChain.getDynamicLinker(Args)));
|
2020-08-25 19:29:57 +02:00
|
|
|
- }
|
|
|
|
}
|
|
|
|
|
|
|
|
CmdArgs.push_back("-o");
|
|
|
|
--
|
|
|
|
2.11.0
|