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.patch8
1 files changed, 4 insertions, 4 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 8b13d7ae2..8c70b2b6a 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@@ -255,6 +255,7 @@ 17@@ -338,6 +338,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125
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 __has_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)) && \ 23 !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) && \
24 !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) 24 !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24)