mipsel: allocator: Fix mipsel build config

139.0.7258.62
klzgrad 2023-04-05 13:47:03 +08:00
parent 6a4dacea06
commit 49ff6a0799
1 changed files with 2 additions and 2 deletions

View File

@ -66,11 +66,11 @@ is_clang_or_gcc = is_clang || !is_win
# Whether 64-bit pointers are used.
# A static_assert in partition_alloc_config.h verifies that.
if (current_cpu == "x64" || current_cpu == "arm64" || current_cpu == "arm64e" ||
current_cpu == "loong64" || current_cpu == "riscv64") {
current_cpu == "loong64" || current_cpu == "riscv64" || current_cpu == "mips64el") {
assert(current_cpu != "arm64e" || (is_ios && target_environment == "device"))
has_64_bit_pointers = true
} else if (current_cpu == "x86" || current_cpu == "arm" ||
current_cpu == "wasm") {
current_cpu == "wasm" || current_cpu == "mipsel") {
has_64_bit_pointers = false
} else {
assert(false, "Unknown CPU: $current_cpu")