summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch
index 8c70b2b6a6..67505d0ce1 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch
+++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch
@@ -14,11 +14,11 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
14 14
15--- a/third_party/protobuf/src/google/protobuf/port_def.inc 15--- a/third_party/protobuf/src/google/protobuf/port_def.inc
16+++ b/third_party/protobuf/src/google/protobuf/port_def.inc 16+++ b/third_party/protobuf/src/google/protobuf/port_def.inc
17@@ -338,6 +338,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125 17@@ -298,6 +298,7 @@
18 #error PROTOBUF_TAILCALL was previously defined 18 #error PROTOBUF_TAILCALL was previously defined
19 #endif 19 #endif
20 #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ 20 #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \
21+ !defined(__mips__) && \ 21+ !defined(__mips__) && \
22 !defined(_ARCH_PPC) && !defined(__wasm__) && \ 22 !defined(_ARCH_PPC) && !defined(__wasm__) && \
23 !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) && \ 23 !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__)
24 !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) 24 // Compilation fails on ARM32: b/195943306