musl: allocator: Disable ifunc on aarch64

136.0.7103.44
klzgrad 2024-06-10 16:45:07 +08:00
parent 6f81b8d863
commit 2896ccb364
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@
#include "partition_alloc/build_config.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
#endif