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 | c89aa9d96468e763c27da8668e4201e657dc2a4f (patch) | |
tree | 2e75a102c8c2bf346ebe405fd69616f521cf2704 /clang/lib/CodeGen/TargetInfo.cpp | |
parent | 9a7510af462f417f82b676af2dc7daace752ee21 (diff) | |
download | bcm5719-llvm-c89aa9d96468e763c27da8668e4201e657dc2a4f.tar.gz bcm5719-llvm-c89aa9d96468e763c27da8668e4201e657dc2a4f.zip |
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.
llvm-svn: 147872
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index b5916229b03..c9e6fc3de9a 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/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: |