summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch4
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_5.29.4.bb6
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch
index 1e0d04dc8d..1f5c9127de 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch
+++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch
@@ -3,10 +3,10 @@ From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 Mar 2025 19:59:19 -0700 3Date: Mon, 10 Mar 2025 19:59:19 -0700
4Subject: [PATCH] Fix build on mips/clang 4Subject: [PATCH] Fix build on mips/clang
5 5
6clang13 crashes on mips, until its fixed upstream disable tailcall on 6clang20 crashes on mips, until its fixed upstream disable tailcall on
7mips 7mips
8 8
9https://bugs.llvm.org/show_bug.cgi?id=52367 9https://github.com/llvm/llvm-project/issues/51709
10 10
11Upstream-Status: Inappropriate [Clang workaround] 11Upstream-Status: Inappropriate [Clang workaround]
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_5.29.4.bb b/meta-oe/recipes-devtools/protobuf/protobuf_5.29.4.bb
index 9d49e0d3e4..30b805e6b1 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_5.29.4.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_5.29.4.bb
@@ -22,8 +22,7 @@ SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=29.x;protocol=ht
22 file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \ 22 file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \
23 file://0001-utf8_range-add-version-marker-to-library-19009.patch \ 23 file://0001-utf8_range-add-version-marker-to-library-19009.patch \
24 " 24 "
25SRC_URI:append:mips:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch " 25SRC_URI:append:mipsarcho32:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch "
26SRC_URI:append:mipsel:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch "
27 26
28UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.(25\.(\d+)))" 27UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.(25\.(\d+)))"
29 28
@@ -51,7 +50,8 @@ EXTRA_OECMAKE += "\
51TEST_SRC_DIR = "examples" 50TEST_SRC_DIR = "examples"
52LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" 51LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}"
53 52
54LDFLAGS:append:riscv32 = " -latomic" 53CXXFLAGS:append:mipsarcho32 = " -latomic"
54CXXFLAGS:append:riscv32 = " -latomic"
55 55
56do_compile_ptest() { 56do_compile_ptest() {
57 mkdir -p "${B}/${TEST_SRC_DIR}" 57 mkdir -p "${B}/${TEST_SRC_DIR}"