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 <daeyeon.dev@gmail.com>
PR-URL: #54785
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
daeyeon authored and RafaelGSS committed Sep 16, 2024
1 parent 9840810 commit a1c851a
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 a1c851a

Please sign in to comment.