diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-29 19:41:41 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-12-29 04:56:09 +0400 |
commit | b3d4938e3e04394f672f8f15feb779b231424bb6 (patch) | |
tree | 46b068e06529b6ccd54be4accf31ad412af044b9 /configure | |
parent | 66116924edb6fcdb2b30f809f479e3f750ca4d61 (diff) |
build: add --without-isolates configure switch
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure index dbe7f243e16..401b370e923 100755 --- a/configure +++ b/configure @@ -27,6 +27,11 @@ parser.add_option("--without-npm", dest="without_npm", help="Don\'t install the bundled npm package manager") +parser.add_option("--without-isolates", + action="store_true", + dest="without_isolates", + help="Build without isolates (no threads, single loop) [Default: False]") + parser.add_option("--without-ssl", action="store_true", dest="without_ssl", @@ -163,6 +168,7 @@ def target_arch(): def configure_node(o): # TODO add gdb and dest_cpu + o['variables']['node_use_isolates'] = b(not options.without_isolates) o['variables']['node_debug'] = b(options.debug) o['variables']['node_prefix'] = options.prefix if options.prefix else '' o['variables']['node_use_dtrace'] = b(options.with_dtrace) |