electron13: fix ppc64le* builds

This commit is contained in:
q66 2021-08-31 10:06:53 +02:00
parent dd6d0e89c8
commit 83bca34b50
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,15 @@
--- base/allocator/partition_allocator/partition_alloc_config.h 2021-05-25 00:05:31.000000000 +0200
+++ - 2021-05-26 22:23:47.172940826 +0200
@@ -71,7 +71,8 @@
// REF_COUNT_AT_END_OF_ALLOCATION does. In this case the refcount overlaps with
// the next pointer shadow for the smallest bucket.
#if !(defined(OS_MAC) && defined(ARCH_CPU_ARM64)) && \
- !BUILDFLAG(REF_COUNT_AT_END_OF_ALLOCATION)
+ !BUILDFLAG(REF_COUNT_AT_END_OF_ALLOCATION) && \
+ !defined(__powerpc64__)
#define PA_HAS_FREELIST_HARDENING
#endif
diff --git sandbox/linux/bpf_dsl/seccomp_macros.h sandbox/linux/bpf_dsl/seccomp_macros.h
index a6aec544e..2a4a7f1bc 100644
--- sandbox/linux/bpf_dsl/seccomp_macros.h

View File

@ -299,6 +299,12 @@ do_configure() {
else
conf+=('symbol_level=0')
fi
# this does not work on ppc64 yet
case "$XBPS_TARGET_MACHINE" in
ppc64*) conf+=( "enable_jxl_decoder=false" );;
esac
conf+=(
'enable_hangout_services_extension=true'
'enable_nacl_nonsfi=false'