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 | c6fd8209375e30ad12c37cbeb69b68dcc2779c4a (patch) | |
tree | 4c5f6b594f170770cd3de2de1b72f4add15e15cf /clang/lib/CodeGen/TargetInfo.cpp | |
parent | 9ab55b8d597168c08963b0ed93becc5ce3005f42 (diff) | |
download | bcm5719-llvm-c6fd8209375e30ad12c37cbeb69b68dcc2779c4a.tar.gz bcm5719-llvm-c6fd8209375e30ad12c37cbeb69b68dcc2779c4a.zip |
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.
llvm-svn: 163088
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 9c23ed9871d..bbffc9ea92b 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -2576,7 +2576,8 @@ public: bool isEABI() const { StringRef Env = getContext().getTargetInfo().getTriple().getEnvironmentName(); - return (Env == "gnueabi" || Env == "eabi" || Env == "androideabi"); + return (Env == "gnueabi" || Env == "eabi" || + Env == "android" || Env == "androideabi"); } private: |