diff options
author | Logan Chien <tzuhsiang.chien@gmail.com> | 2012-09-02 09:30:11 +0000 |
---|---|---|
committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2012-09-02 09:30:11 +0000 |
commit | 94a7142f74bb4a9daa53c22087b19d4568073109 (patch) | |
tree | e8fcfbe7d9069cf5702255804d89a49dab05d4ec /lib/Driver/ToolChains.cpp | |
parent | ca0d10edcf1192ab8546a75e8be5bab7ef32e488 (diff) |
Rename ANDROIDEABI to Android.
Most of the code guarded with ANDROIDEABI are not
ARM-specific, and having no relation with arm-eabi.
Thus, it will be more natural to call this
environment "Android" instead of "ANDROIDEABI".
Note: We are not using ANDROID because several projects
are using "-DANDROID" as the conditional compilation
flag.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index b47a0dee2a..5648951396 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2064,7 +2064,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) Arch == llvm::Triple::mips64 || Arch == llvm::Triple::mips64el; - const bool IsAndroid = Triple.getEnvironment() == llvm::Triple::ANDROIDEABI; + const bool IsAndroid = Triple.getEnvironment() == llvm::Triple::Android; // Do not use 'gnu' hash style for Mips targets because .gnu.hash // and the MIPS ABI require .dynsym to be sorted in different ways. |