diff options
Diffstat (limited to 'main/clang/40-fix-ld-name-on-x86.patch')
-rw-r--r-- | main/clang/40-fix-ld-name-on-x86.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/main/clang/40-fix-ld-name-on-x86.patch b/main/clang/40-fix-ld-name-on-x86.patch deleted file mode 100644 index 4490bba9dae..00000000000 --- a/main/clang/40-fix-ld-name-on-x86.patch +++ /dev/null @@ -1,20 +0,0 @@ -Upstream: No -Author: Rasmus Thomsen <oss@cogitri.dev> -Reason: We have a mismatch between the name of our target triplet and the -name of the ld for musl -diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp -index bff1ab10..68ca89d9 100644 ---- a/lib/Driver/ToolChains/Linux.cpp -+++ b/lib/Driver/ToolChains/Linux.cpp -@@ -434,6 +434,11 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { - ArchName = "armeb"; - IsArm = true; - break; -+ // FIXME: The Triplet name for x86 on Alpine Linux (i686) doesn't match -+ // up with the name for the ld (i386)! -+ case llvm::Triple::x86: -+ ArchName = "i386"; -+ break; - default: - ArchName = Triple.getArchName().str(); - } |