From 1c8ced41efd0822e3d62141cab1be4e73bdba106 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 5 Apr 2023 13:47:03 +0800 Subject: [PATCH] allocator: Fix PartitionAlloc mipsel build --- src/base/allocator/partition_allocator/partition_alloc.gni | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/base/allocator/partition_allocator/partition_alloc.gni b/src/base/allocator/partition_allocator/partition_alloc.gni index 552c0c35fb..85ebc45b4f 100644 --- a/src/base/allocator/partition_allocator/partition_alloc.gni +++ b/src/base/allocator/partition_allocator/partition_alloc.gni @@ -16,9 +16,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")