From c73f524babcf4181ca7b8b166241446789f4b9ab Mon Sep 17 00:00:00 2001
From: klzgrad <kizdiv@gmail.com>
Date: Wed, 20 Nov 2024 20:30:35 +0800
Subject: [PATCH] mipsel: allocator: Disable musttail compile error

---
 .../partition_alloc/partition_alloc_base/compiler_specific.h    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h b/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
index ffeb439692..1e0328c7ee 100644
--- a/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
+++ b/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
@@ -138,7 +138,7 @@
 //     PA_MUSTTAIL return Func1(d + 1);  // `Func1()` will be tail-called.
 //   }
 // ```
-#if PA_HAS_CPP_ATTRIBUTE(clang::musttail)
+#if PA_HAS_CPP_ATTRIBUTE(clang::musttail) && !defined(__MIPSEL__)
 #define PA_MUSTTAIL [[clang::musttail]]
 #else
 #define PA_MUSTTAIL