From 32f433347339540d6a1b3d53681def224a0eba28 Mon Sep 17 00:00:00 2001 From: klzgrad 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 f37494f5b5..b3275b135c 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 @@ -139,7 +139,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