Skip to content

Commit 0c2aa7d

Browse files
committed
build: ensure v8_pointer_compression_sandbox is enabled on 64bit
1 parent aca49fc commit 0c2aa7d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
['target_arch in "arm ia32 mips mipsel ppc"', {
114114
'v8_enable_pointer_compression': 0,
115115
'v8_enable_31bit_smis_on_64bit_arch': 0,
116+
'v8_enable_sandbox': 0
116117
}],
117118
['target_arch in "ppc64 s390x"', {
118119
'v8_enable_backtrace': 1,

configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,7 @@ def configure_v8(o):
16341634
o['variables']['v8_enable_maglev'] = B(not options.v8_disable_maglev and
16351635
o['variables']['target_arch'] in maglev_enabled_architectures)
16361636
o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0
1637+
o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression else 0
16371638
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
16381639
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1
16391640
o['variables']['v8_enable_extensible_ro_snapshot'] = 0

0 commit comments

Comments
 (0)