allocator: Fix PartitionAlloc mipsel build

This commit is contained in:
klzgrad 2023-04-05 13:47:03 +08:00
parent bb7c0e1962
commit b48109eed3

View File

@ -16,9 +16,10 @@ if (is_nacl) {
# NaCl targets don't use 64-bit pointers. # NaCl targets don't use 64-bit pointers.
has_64_bit_pointers = false has_64_bit_pointers = false
} else if (current_cpu == "x64" || current_cpu == "arm64" || } else if (current_cpu == "x64" || current_cpu == "arm64" ||
current_cpu == "loong64" || current_cpu == "riscv64") { current_cpu == "loong64" || current_cpu == "riscv64" ||
current_cpu == "mips64el") {
has_64_bit_pointers = true has_64_bit_pointers = true
} else if (current_cpu == "x86" || current_cpu == "arm") { } else if (current_cpu == "x86" || current_cpu == "arm" || current_cpu == "mipsel") {
has_64_bit_pointers = false has_64_bit_pointers = false
} else { } else {
assert(false, "Unknown CPU: $current_cpu") assert(false, "Unknown CPU: $current_cpu")