diff --git a/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h b/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h index 6a4c4714a0..fdf7123378 100644 --- a/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h +++ b/src/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h @@ -162,7 +162,7 @@ static_assert(sizeof(void*) != 8, ""); #if defined(ARCH_CPU_ARM64) && defined(__clang__) && \ !defined(ADDRESS_SANITIZER) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)) + (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)) && defined(LIBC_GLIBC) #define PA_CONFIG_HAS_MEMORY_TAGGING() 1 #else #define PA_CONFIG_HAS_MEMORY_TAGGING() 0