mipsel: allocator: Fix mipsel build config

This commit is contained in:
klzgrad
2023-04-05 13:47:03 +08:00
parent bd33494725
commit 4db8c1ab11

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")