mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
f5fe051c71
vcunat's review: - let's not switch the default versions of llvm* for now - the only changes I see is adding python to clang's buildInputs and using the big so-file as discussed in #12759 (BUILD_SHARED_LIBS -> LLVM_LINK_LLVM_DYLIB) - in future it will be nice to split libLLVM into a separate output
18 lines
651 B
Diff
18 lines
651 B
Diff
--- a/lib/Driver/Tools.cpp 2016-02-12 15:51:41.000000000 -0700
|
|
+++ b/lib/Driver/Tools.cpp 2016-03-08 15:39:06.790111122 -0700
|
|
@@ -8833,15 +8833,6 @@
|
|
CmdArgs.push_back("-shared");
|
|
}
|
|
|
|
- if (Arch == llvm::Triple::arm || Arch == llvm::Triple::armeb ||
|
|
- Arch == llvm::Triple::thumb || Arch == 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());
|