| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9085412 commit 2201484
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -421,10 +421,10 @@ | |||
| 421 | 421 | dest='with_ltcg', | |
| 422 | 422 | help='Use Link Time Code Generation. This feature is only available on Windows.') | |
| 423 | 423 | ||
| 424 | - parser.add_option('--with-node-snapshot', | ||
| 424 | + parser.add_option('--without-node-snapshot', | ||
| 425 | 425 | action='store_true', | |
| 426 | - dest='with_node_snapshot', | ||
| 427 | - help='Turn on V8 snapshot integration. Currently experimental.') | ||
| 426 | + dest='without_node_snapshot', | ||
| 427 | + help='Turn off V8 snapshot integration. Currently experimental.') | ||
| 428 | 428 | ||
| 429 | 429 | intl_optgroup.add_option('--download', | |
| 430 | 430 | action='store', | |
@@ -942,11 +942,9 @@ def configure_node(o): | |||
| 942 | 942 | o['variables']['want_separate_host_toolset'] = int( | |
| 943 | 943 | cross_compiling and want_snapshots) | |
| 944 | 944 | ||
| 945 | - if options.with_node_snapshot: | ||
| 946 | - o['variables']['node_use_node_snapshot'] = 'true' | ||
| 945 | + if not options.without_node_snapshot: | ||
| 946 | + o['variables']['node_use_node_snapshot'] = b(not cross_compiling) | ||
| 947 | 947 | else: | |
| 948 | - # Default to false for now. | ||
| 949 | - # TODO(joyeecheung): enable it once we fix the hashseed uniqueness | ||
| 950 | 948 | o['variables']['node_use_node_snapshot'] = 'false' | |
| 951 | 949 | ||
| 952 | 950 | if target_arch == 'arm': | |
| Back | FazBrowse Home | New Git URL |
0 commit comments