From 06d6c55db3bd2ae38567e5133ffcfb9fd4905150 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 25 Aug 2019 23:30:39 -0700 Subject: clang: Update to latest on 9.x release Fix libcxx build on mips Signed-off-by: Khem Raj --- .../0001-libcxx-Fix-build-breakage-on-mips.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch (limited to 'recipes-devtools/clang/clang') diff --git a/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch b/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch new file mode 100644 index 0000000..aab18a8 --- /dev/null +++ b/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch @@ -0,0 +1,31 @@ +From 8a53ec82043a463f0606427ee3e48df80b1233f8 Mon Sep 17 00:00:00 2001 +From: Mikhail Maltsev +Date: Tue, 20 Aug 2019 10:19:55 +0000 +Subject: [PATCH] [libcxx] Fix build breakage on mips + +Fixes https://bugs.llvm.org/show_bug.cgi?id=43011 caused by +https://reviews.llvm.org/D63284. + +Committing as obvious. + +llvm-svn: 369364 +--- + libcxx/include/__locale | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libcxx/include/__locale b/libcxx/include/__locale +index d382e4d8a94..2b6982fc681 100644 +--- a/libcxx/include/__locale ++++ b/libcxx/include/__locale +@@ -409,7 +409,7 @@ public: + static const mask xdigit = _ISxdigit; + static const mask blank = _ISblank; + #if defined(__mips__) +- static const mask __regex_word = static_cast(_ISbit(15)); ++ static const mask __regex_word = static_cast(_ISbit(15)); + #else + static const mask __regex_word = 0x80; + #endif +-- +2.23.0 + -- cgit v1.2.3-54-g00ecf