From 42ea664ccef55ce877f3709fd0d8666e5eece313 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 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