15 lines
704 B
Diff
15 lines
704 B
Diff
diff --git lib/Driver/ToolChains.cpp lib/Driver/ToolChains.cpp
|
|
index 7b15c54..3155ade 100644
|
|
--- lib/Driver/ToolChains.cpp
|
|
+++ lib/Driver/ToolChains.cpp
|
|
@@ -2088,7 +2088,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));
|
|
|
|
if (DriverArgs.hasFlag(options::OPT_fuse_init_array,
|
|
options::OPT_fno_use_init_array,
|