e8e81d004e
- add patch debug messages - update patches - remove lld - replace __ptrace_request with int on musl - fix bug 22661 - include license
26 lines
1,000 B
Diff
26 lines
1,000 B
Diff
From 886d662712b1cfb5cf7b84bfd96fb5f8b58069d5 Mon Sep 17 00:00:00 2001
|
|
From: Andrea Brancaleoni <miwaxe@gmail.com>
|
|
Date: Tue, 8 Sep 2015 22:38:44 +0200
|
|
Subject: [PATCH 6/7] musl use init array
|
|
|
|
---
|
|
lib/Driver/ToolChains.cpp | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
|
|
index 3cd6dd1..ef77df8 100644
|
|
--- a/lib/Driver/ToolChains.cpp
|
|
+++ b/lib/Driver/ToolChains.cpp
|
|
@@ -2071,7 +2071,8 @@ void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs,
|
|
getTriple().getArch() == llvm::Triple::aarch64_be ||
|
|
(getTriple().getOS() == llvm::Triple::Linux &&
|
|
(!V.isOlderThan(4, 7, 0) ||
|
|
- getTriple().getEnvironment() == llvm::Triple::Android)) ||
|
|
+ getTriple().getEnvironment() == llvm::Triple::Android ||
|
|
+ getTriple().getEnvironment() == llvm::Triple::Musl)) ||
|
|
getTriple().getOS() == llvm::Triple::NaCl;
|
|
|
|
if (DriverArgs.hasFlag(options::OPT_fuse_init_array,
|
|
--
|
|
2.5.1
|
|
|