mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
base/allocator: Disable ifunc on Musl aarch64
This commit is contained in:
parent
2b496e3a9b
commit
79510bed63
@ -10,7 +10,7 @@
|
||||
#include "partition_alloc/build_config.h"
|
||||
#include "partition_alloc/partition_alloc_buildflags.h"
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
|
||||
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) && !defined(__MUSL__)
|
||||
#define HAS_HW_CAPS
|
||||
#endif
|
||||
|
||||
|
@ -9,7 +9,8 @@
|
||||
#include "partition_alloc/partition_alloc_buildflags.h"
|
||||
|
||||
#if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
|
||||
(defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1))
|
||||
(defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && \
|
||||
!defined(__MUSL__))
|
||||
struct __ifunc_arg_t;
|
||||
|
||||
#include "partition_alloc/aarch64_support.h"
|
||||
|
Loading…
Reference in New Issue
Block a user