Skip to content

Commit

Permalink
base/allocator: Fix PartitionAlloc mipsel build
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Aug 18, 2024
1 parent c3a4999 commit 97fe81e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/base/allocator/partition_allocator/partition_alloc.gni
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ if (is_nacl) {
# NaCl targets don't use 64-bit pointers.
has_64_bit_pointers = false
} 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
} else if (current_cpu == "x86" || current_cpu == "arm") {
} else if (current_cpu == "x86" || current_cpu == "arm" || current_cpu == "mipsel") {
has_64_bit_pointers = false
} else {
assert(false, "Unknown CPU: $current_cpu")
Expand Down

0 comments on commit 97fe81e

Please sign in to comment.