diff options
author | Dominic Sacré <dominic.sacre@gmx.de> | 2016-06-14 10:19:14 +0200 |
---|---|---|
committer | Dominic Sacré <dominic.sacre@gmx.de> | 2016-06-14 10:23:05 +0200 |
commit | e799dc80d48d18c3b5165da03b38a0bc95397ef0 (patch) | |
tree | aab8c0c9b9219161753ae071f92e46e00771f044 | |
parent | 22055598e9b9933d0e94154a7fc5a0525ad3fa1e (diff) | |
download | meta-clang-e799dc80d48d18c3b5165da03b38a0bc95397ef0.tar.gz |
clang: Fix target triple detection for musl
Change detection order so that "musleabihf" etc. are recognized as such,
and not just as plain "musl".
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
-rw-r--r-- | recipes-devtools/clang/clang/0001-llvm-triplet-Add-musl-support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/clang/clang/0001-llvm-triplet-Add-musl-support.patch b/recipes-devtools/clang/clang/0001-llvm-triplet-Add-musl-support.patch index e2d16aa..9c3da68 100644 --- a/recipes-devtools/clang/clang/0001-llvm-triplet-Add-musl-support.patch +++ b/recipes-devtools/clang/clang/0001-llvm-triplet-Add-musl-support.patch | |||
@@ -61,10 +61,10 @@ index 1967fac..f8b6236 100644 | |||
61 | .StartsWith("gnueabihf", Triple::GNUEABIHF) | 61 | .StartsWith("gnueabihf", Triple::GNUEABIHF) |
62 | .StartsWith("gnueabi", Triple::GNUEABI) | 62 | .StartsWith("gnueabi", Triple::GNUEABI) |
63 | .StartsWith("gnux32", Triple::GNUX32) | 63 | .StartsWith("gnux32", Triple::GNUX32) |
64 | + .StartsWith("musl", Triple::MUSL) | ||
65 | + .StartsWith("musleabihf", Triple::MUSLEABIHF) | 64 | + .StartsWith("musleabihf", Triple::MUSLEABIHF) |
66 | + .StartsWith("musleabi", Triple::MUSLEABI) | 65 | + .StartsWith("musleabi", Triple::MUSLEABI) |
67 | + .StartsWith("muslx32", Triple::MUSLX32) | 66 | + .StartsWith("muslx32", Triple::MUSLX32) |
67 | + .StartsWith("musl", Triple::MUSL) | ||
68 | .StartsWith("code16", Triple::CODE16) | 68 | .StartsWith("code16", Triple::CODE16) |
69 | .StartsWith("gnu", Triple::GNU) | 69 | .StartsWith("gnu", Triple::GNU) |
70 | .StartsWith("android", Triple::Android) | 70 | .StartsWith("android", Triple::Android) |