Skip to content

Commit 96feceb

Browse files
committed
build: fix conflicting V8 object print flags
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 298dea0 commit 96feceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ def configure_v8(o, configs):
16671667
o['variables']['v8_enable_short_builtin_calls'] = 1
16681668
if options.v8_enable_snapshot_compression:
16691669
o['variables']['v8_enable_snapshot_compression'] = 1
1670-
if options.v8_enable_object_print and options.v8_disable_object_print:
1670+
if all(opt in sys.argv for opt in ['--v8-enable-object-print', '--v8-disable-object-print']):
16711671
raise Exception(
16721672
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
16731673
'can be specified at a time.')

0 commit comments

Comments
 (0)