third_party/protobuf: Disable musttail on MIPS

clang reports:

fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
This commit is contained in:
klzgrad 2022-09-01 21:32:55 +08:00
parent aa1a5dbbaf
commit 4294ea6da1

View File

@ -235,7 +235,7 @@
#endif #endif
#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
!defined(_ARCH_PPC) && !defined(__wasm__) && \ !defined(_ARCH_PPC) && !defined(__wasm__) && \
!(defined(_MSC_VER) && defined(_M_IX86)) !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__mips__)
# ifndef PROTO2_OPENSOURCE # ifndef PROTO2_OPENSOURCE
// Compilation fails on ARM32: b/195943306 // Compilation fails on ARM32: b/195943306
// Compilation fails on powerpc64le: b/187985113 // Compilation fails on powerpc64le: b/187985113