summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2018-03-01 21:04:59 -0600
committerGus Caplan <me@gus.host>2018-03-05 08:35:44 -0600
commit3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8 (patch)
tree59dada6206a57a0dc100ba16eee24b4a278a1fc0 /configure
parent0c25cdf39a40a94fcb829ea91caa217d640054b1 (diff)
downloadandroid-node-v8-3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8.tar.gz
android-node-v8-3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8.tar.bz2
android-node-v8-3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8.zip
lib: add internal check macros
PR-URL: https://github.com/nodejs/node/pull/18852 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
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: