1234567891011121314151617181920212223242526272829303132333435363738 |
- From 2cfdb7d3c7f932be6befc9a47f128806cc5c4847 Mon Sep 17 00:00:00 2001
- From: Jun Yuan Tan <junyuan.tan@starfivetech.com>
- Date: Tue, 9 Nov 2021 10:47:18 +0800
- Subject: [PATCH 23/34] llvm: Insert anchor for adding OE distro vendor names
- This helps in making right detection for OE built gcc toolchains
- The //CLANG_EXTRA_OE_VENDORS_CASES string is replaced with list of
- additional Ceses based on CLANG_EXTRA_OE_VENDORS variable in
- recipes-devtools/clang/llvm-project-source.inc:add_more_target_vendors()
- Upstream-Status: Inappropriate [OE-specific]
- Rebased to LLVM 14.0.0 by Jun Yuan Tan
- Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
- Signed-off-by: Jun Yuan Tan <junyuan.tan@starfivetech.com>
- ---
- llvm/lib/Support/Triple.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
- index 88311546354b..8b2745deae88 100644
- --- a/llvm/lib/Support/Triple.cpp
- +++ b/llvm/lib/Support/Triple.cpp
- @@ -496,7 +496,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) {
- .Case("amd", Triple::AMD)
- .Case("mesa", Triple::Mesa)
- .Case("suse", Triple::SUSE)
- - .Case("oe", Triple::OpenEmbedded)
- + .Case("oe", Triple::OpenEmbedded)//CLANG_EXTRA_OE_VENDORS_CASES
- .Default(Triple::UnknownVendor);
- }
-
- --
- 2.33.1
|