From e799dc80d48d18c3b5165da03b38a0bc95397ef0 Mon Sep 17 00:00:00 2001 From: Dominic Sacré Date: Tue, 14 Jun 2016 10:19:14 +0200 Subject: clang: Fix target triple detection for musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change detection order so that "musleabihf" etc. are recognized as such, and not just as plain "musl". Signed-off-by: Dominic Sacré --- recipes-devtools/clang/clang/0001-llvm-triplet-Add-musl-support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .StartsWith("gnueabihf", Triple::GNUEABIHF) .StartsWith("gnueabi", Triple::GNUEABI) .StartsWith("gnux32", Triple::GNUX32) -+ .StartsWith("musl", Triple::MUSL) + .StartsWith("musleabihf", Triple::MUSLEABIHF) + .StartsWith("musleabi", Triple::MUSLEABI) + .StartsWith("muslx32", Triple::MUSLX32) ++ .StartsWith("musl", Triple::MUSL) .StartsWith("code16", Triple::CODE16) .StartsWith("gnu", Triple::GNU) .StartsWith("android", Triple::Android) -- cgit v1.2.3-54-g00ecf