diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-01-10 19:47:42 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-01-10 19:47:42 +0000 |
commit | b43550bf1bd944a16cdae9703cb1c2049b04e6bd (patch) | |
tree | 0faae4a107f3d29d412e4223d5f8cd0a814f9836 /lib/CodeGen | |
parent | 6e6f93a1f16d9804db79390382e9d1f6322cdbfd (diff) |
Add support for the androideabi environment to our triple support, and
for the arm-linux-androideabi triple in particular.
Also use this to do a better job of selecting soft FP settings.
Patch by Evgeniy Stepanov.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index b5916229b0..c9e6fc3de9 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -2374,7 +2374,7 @@ public: bool isEABI() const { StringRef Env = getContext().getTargetInfo().getTriple().getEnvironmentName(); - return (Env == "gnueabi" || Env == "eabi"); + return (Env == "gnueabi" || Env == "eabi" || Env == "androideabi"); } private: |