From b0ae0e8999b09f859adc282ad0bbd36f9c7a2822 Mon Sep 17 00:00:00 2001 From: sapics Date: Wed, 9 Oct 2024 10:33:52 +0900 Subject: [PATCH] build: fix errors with pointer compression --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 12faf7abaa8c96..0f9005a3bd9e9f 100755 --- a/configure.py +++ b/configure.py @@ -1649,7 +1649,7 @@ def configure_v8(o, configs): o['variables']['v8_enable_maglev'] = B(not options.v8_disable_maglev and o['variables']['target_arch'] in maglev_enabled_architectures) o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0 - o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression else 0 + o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression and flavor == 'mac' else 0 o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0 o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1 o['variables']['v8_enable_extensible_ro_snapshot'] = 0