Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2018-03-02 06:04:59 +0300
committerGus Caplan <me@gus.host>2018-03-05 17:35:44 +0300
commit3ed363cb36a9fb686956c0b8b2953ff08a6f0ee8 (patch)
tree59dada6206a57a0dc100ba16eee24b4a278a1fc0 /configure
parent0c25cdf39a40a94fcb829ea91caa217d640054b1 (diff)
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 5d2e800015f..df59b59e207 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: