diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-04-18 23:48:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-04-18 23:48:36 +0000 |
commit | 3cceec5e05d974f3993bd0a745325f76fb8e4efc (patch) | |
tree | 3f4b056f82e5cac25ec3bb30b3e0316f72127ea6 /lib/Driver/ToolChains.cpp | |
parent | 4e6a3f7310d3d9232877ed6f439247b1054b1e47 (diff) |
Driver/Darwin: Change to use generic iOS runtime library, which we now always need.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 1b39398120..28b2f2e9d4 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -353,10 +353,8 @@ void DarwinClang::AddLinkRuntimeLibArgs(const ArgList &Args, if (isTargetIPhoneOS()) { CmdArgs.push_back("-lgcc_s.1"); - // We may need some static functions for armv6/thumb which are required to - // be in the same linkage unit as their caller. - if (getDarwinArchName(Args) == "armv6") - DarwinStaticLib = "libclang_rt.armv6.a"; + // We currently always need a static runtime library for iOS. + DarwinStaticLib = "libclang_rt.ios.a"; } else { // The dynamic runtime library was merged with libSystem for 10.6 and // beyond; only 10.4 and 10.5 need an additional runtime library. |