mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
Use native page size on aarch64 to fix bytecode_builtins_list_generator
This commit is contained in:
parent
c83f3de6d5
commit
5e4743a078
1 changed files with 8 additions and 0 deletions
|
@ -408,6 +408,14 @@ sed -i \
|
|||
-e '/"-Wno-defaulted-function-deleted"/d' \
|
||||
build/config/compiler/BUILD.gn
|
||||
|
||||
# Use native page size on aarch64 ("if (current_cpu == "arm64")"), otherwise:
|
||||
# /lib64/ld-linux-aarch64.so.1 ./bytecode_builtins_list_generator
|
||||
# ./bytecode_builtins_list_generator: error while loading shared libraries:
|
||||
# ./bytecode_builtins_list_generator: ELF load command alignment not page-aligned
|
||||
sed -i \
|
||||
-e 's!-Wl,-z,max-page-size=4096!!g' \
|
||||
build/config/compiler/BUILD.gn
|
||||
|
||||
# base/rand_util_posix.cc:27:10: fatal error: 'sys/random.h' file not found
|
||||
sed -i "s|sys/random.h|/usr/include/linux/random.h|g" base/rand_util_posix.cc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue