From 3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Thu, 1 Mar 2018 21:04:59 -0600 Subject: lib: add internal check macros PR-URL: https://github.com/nodejs/node/pull/18852 Reviewed-By: Ben Noordhuis Reviewed-By: Ruben Bridgewater --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 5d2e800015..df59b59e20 100755 --- a/configure +++ b/configure @@ -434,6 +434,11 @@ intl_optgroup.add_option('--download-path', parser.add_option_group(intl_optgroup) +parser.add_option('--debug-lib', + action='store_true', + dest='node_debug_lib', + help='build lib with DCHECK macros') + http2_optgroup.add_option('--debug-http2', action='store_true', dest='debug_http2', @@ -935,6 +940,8 @@ def configure_node(o): if options.enable_static: o['variables']['node_target_type'] = 'static_library' + o['variables']['node_debug_lib'] = b(options.node_debug_lib) + if options.debug_http2: o['variables']['debug_http2'] = 1 else: -- cgit v1.2.3