Skip to content

Commit 3b16d4c

Browse files
authored
build: ensure v8_pointer_compression_sandbox is enabled on 64bit
PR-URL: #53884 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent e440540 commit 3b16d4c

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
@@ -1639,6 +1639,7 @@ def configure_v8(o, configs):
16391639
o['variables']['v8_enable_maglev'] = B(not options.v8_disable_maglev and
16401640
o['variables']['target_arch'] in maglev_enabled_architectures)
16411641
o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0
1642+
o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression else 0
16421643
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
16431644
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1
16441645
o['variables']['v8_enable_extensible_ro_snapshot'] = 0

0 commit comments

Comments
 (0)