diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-04-13 15:29:46 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-04-13 15:47:37 +0200 |
commit | e14f1e044839fba347babb41259f89867bac4d46 (patch) | |
tree | 0d5797d8a058de605831580641b8187057c22f40 /lib/Support/Triple.cpp | |
parent | 0597584cce5889e63994cd4332aea0d96d88cfc7 (diff) | |
download | llvm-e14f1e044839fba347babb41259f89867bac4d46.tar.gz llvm-e14f1e044839fba347babb41259f89867bac4d46.tar.bz2 llvm-e14f1e044839fba347babb41259f89867bac4d46.tar.xz |
[Embtk] Add support of hard float triple for uClibc and musl
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r-- | lib/Support/Triple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 5419912123..19f841c969 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -312,7 +312,9 @@ static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) { .StartsWith("eabi", Triple::EABI) .StartsWith("gnueabihf", Triple::GNUEABIHF) .StartsWith("gnueabi", Triple::GNUEABI) + .StartsWith("uclibceabihf", Triple::GNUEABIHF) .StartsWith("uclibceabi", Triple::GNUEABI) + .StartsWith("musleabihf", Triple::GNUEABIHF) .StartsWith("musleabi", Triple::GNUEABI) .StartsWith("gnux32", Triple::GNUX32) .StartsWith("gnu", Triple::GNU) |