From 57a0396c790dd891b4ca4d60df6b108f2f50b334 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Tue, 3 Sep 2024 18:20:21 +0900 Subject: [PATCH] build: fix conflicting V8 object print flags Signed-off-by: Daeyeon Jeong --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 4d36350c378ca7..073cc0c390f576 100755 --- a/configure.py +++ b/configure.py @@ -1671,7 +1671,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.')