summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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: