mipsel: allocator: Fix mipsel build config
This commit is contained in:
@ -66,11 +66,11 @@ is_clang_or_gcc = is_clang || !is_win
|
|||||||
# Whether 64-bit pointers are used.
|
# Whether 64-bit pointers are used.
|
||||||
# A static_assert in partition_alloc_config.h verifies that.
|
# A static_assert in partition_alloc_config.h verifies that.
|
||||||
if (current_cpu == "x64" || current_cpu == "arm64" || current_cpu == "arm64e" ||
|
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"))
|
assert(current_cpu != "arm64e" || (is_ios && target_environment == "device"))
|
||||||
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 == "wasm") {
|
current_cpu == "wasm" || 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")
|
||||||
|
|||||||
Reference in New Issue
Block a user