musl: allocator: Disable ifunc on aarch64

135.0.7049.38
klzgrad 2024-06-10 16:45:07 +08:00
parent 48741dc619
commit 719d044f7c
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@
#include "partition_alloc/build_config.h" #include "partition_alloc/build_config.h"
#include "partition_alloc/buildflags.h" #include "partition_alloc/buildflags.h"
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX) #if defined(__MUSL__)
// Musl does not support ifunc.
#elif PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
#define HAS_HW_CAPS #define HAS_HW_CAPS
#endif #endif