Skip to content

Commit

Permalink
build: fix conflicting V8 object print flags
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #54785
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
daeyeon authored and RafaelGSS committed Sep 17, 2024
1 parent 2b9a637 commit 69ec9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ def configure_v8(o, configs):
o['variables']['v8_enable_short_builtin_calls'] = 1
if options.v8_enable_snapshot_compression:
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(
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
'can be specified at a time.')
Expand Down

0 comments on commit 69ec9d8

Please sign in to comment.