From e8884207f6a6afbae9bdd11896035efc39aaff20 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 12 Oct 2021 10:41:55 +0900 Subject: [PATCH] build: v8 pointer compression is 64bit arch only --- common.gypi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.gypi b/common.gypi index ce9cf8f0eafe9c..d9893f5ebc18bf 100644 --- a/common.gypi +++ b/common.gypi @@ -103,6 +103,10 @@ 'obj_dir%': '<(PRODUCT_DIR)/obj.target', 'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a', }], + ['target_arch not in "x64 arm64"', { + 'v8_enable_pointer_compression': 0, + 'v8_enable_31bit_smis_on_64bit_arch': 0, + }], ['target_arch in "ppc64 s390x"', { 'v8_enable_backtrace': 1, }],