mirror of
https://github.com/nodejs/node.git
synced 2025-04-28 21:46:48 +00:00
build: fix conflicting V8 object print flags
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: https://github.com/nodejs/node/pull/54785 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
fee02c70ee
commit
aff2214ca9
@ -1671,7 +1671,7 @@ def configure_v8(o, configs):
|
|||||||
o['variables']['v8_enable_short_builtin_calls'] = 1
|
o['variables']['v8_enable_short_builtin_calls'] = 1
|
||||||
if options.v8_enable_snapshot_compression:
|
if options.v8_enable_snapshot_compression:
|
||||||
o['variables']['v8_enable_snapshot_compression'] = 1
|
o['variables']['v8_enable_snapshot_compression'] = 1
|
||||||
if options.v8_enable_object_print and options.v8_disable_object_print:
|
if all(opt in sys.argv for opt in ['--v8-enable-object-print', '--v8-disable-object-print']):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
|
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
|
||||||
'can be specified at a time.')
|
'can be specified at a time.')
|
||||||
|
Loading…
Reference in New Issue
Block a user