From f7840584828d2cd0d4c94b8cbf73b493f7fbffcc Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Tue, 25 Aug 2026 16:43:45 -0400 Subject: [PATCH] build: remove obsolete configure flags Signed-off-by: Chengzhong Wu PR-URL: https://github.com/nodejs/node/pull/65456 Reviewed-By: James M Snell Reviewed-By: Aviv Keller Reviewed-By: Luigi Pinca --- configure.py | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/configure.py b/configure.py index 3c3b5a34925..633262f9ca8 100755 --- a/configure.py +++ b/configure.py @@ -318,12 +318,6 @@ shared_optgroup.add_argument('--shared-hdr-histogram-libpath', dest='shared_hdr_histogram_libpath', help='a directory to search for the shared HdrHistogram DLL') -parser.add_argument('--experimental-http-parser', - action='store_true', - dest='experimental_http_parser', - default=None, - help='(no-op)') - shared_optgroup.add_argument('--shared-http-parser', action='store_true', dest='shared_http_parser', @@ -942,33 +936,12 @@ parser.add_argument('--control-flow-guard', default=None, help='enable Control Flow Guard (CFG)') -# Dummy option for backwards compatibility -parser.add_argument('--without-report', - action='store_true', - dest='unused_without_report', - default=None, - help=argparse.SUPPRESS) - -parser.add_argument('--with-snapshot', - action='store_true', - dest='unused_with_snapshot', - default=None, - help=argparse.SUPPRESS) - -parser.add_argument('--without-snapshot', - action='store_true', - dest='unused_without_snapshot', - default=None, - help=argparse.SUPPRESS) - parser.add_argument('--without-siphash', action='store_true', dest='without_siphash', default=None, help=argparse.SUPPRESS) -# End dummy list. - parser.add_argument('--without-ssl', action='store_true', dest='without_ssl', @@ -1696,8 +1669,6 @@ def configure_node(o): else target_arch != host_arch) if cross_compiling: os.environ['GYP_CROSSCOMPILE'] = "1" - if options.unused_without_snapshot: - warn('building --without-snapshot is no longer possible') o['variables']['want_separate_host_toolset'] = int(cross_compiling)